Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 393.5 MB / 408.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001506, allocations: 179.6 kB / 0.4902 GB, free: 2.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.1 MB / 0.7992 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009365, allocations: 100.5 kB / 0.9396 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 13 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.609/4.929, allocations: 1.869 GB / 3.098 GB, free: 92.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/4.929, allocations: 89.83 kB / 3.098 GB, free: 92.21 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.206/6.136, allocations: 222.4 MB / 3.315 GB, free: 338.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.234e-06/6.136, allocations: 0 / 3.315 GB, free: 338.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.386e-05/6.136, allocations: 11.98 kB / 3.315 GB, free: 338.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001281/6.137, allocations: 0.604 MB / 3.316 GB, free: 338.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/6.137, allocations: 8.031 kB / 3.316 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/6.137, allocations: 56.88 kB / 3.316 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/6.138, allocations: 306.6 kB / 3.316 GB, free: 337.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/6.138, allocations: 20 kB / 3.316 GB, free: 337.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/6.138, allocations: 23.95 kB / 3.316 GB, free: 337.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/6.139, allocations: 192.1 kB / 3.316 GB, free: 337.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/6.139, allocations: 0 / 3.316 GB, free: 337.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/6.139, allocations: 8 kB / 3.316 GB, free: 337.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/6.139, allocations: 4 kB / 3.316 GB, free: 337.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/6.139, allocations: 131.9 kB / 3.316 GB, free: 337.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/6.14, allocations: 0.7927 MB / 3.317 GB, free: 336.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/6.14, allocations: 74.73 kB / 3.317 GB, free: 336.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/6.14, allocations: 198.1 kB / 3.317 GB, free: 336.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/6.141, allocations: 30.56 kB / 3.318 GB, free: 336.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/6.141, allocations: 4 kB / 3.318 GB, free: 336.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006854/6.141, allocations: 221.2 kB / 3.318 GB, free: 336 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/6.141, allocations: 55.41 kB / 3.318 GB, free: 335.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/6.141, allocations: 242.2 kB / 3.318 GB, free: 335.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/6.141, allocations: 25.7 kB / 3.318 GB, free: 335.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/6.142, allocations: 148 kB / 3.318 GB, free: 335.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/6.142, allocations: 31.55 kB / 3.318 GB, free: 335.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/6.142, allocations: 0 / 3.318 GB, free: 335.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/6.142, allocations: 330.8 kB / 3.319 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/6.142, allocations: 47.95 kB / 3.319 GB, free: 335.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/6.142, allocations: 102.8 kB / 3.319 GB, free: 335 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/6.142, allocations: 59.89 kB / 3.319 GB, free: 334.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/6.142, allocations: 4 kB / 3.319 GB, free: 334.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003192/6.142, allocations: 165.2 kB / 3.319 GB, free: 334.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/6.143, allocations: 360.8 kB / 3.319 GB, free: 334.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/6.143, allocations: 0 / 3.319 GB, free: 334.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/6.143, allocations: 7.953 kB / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/6.143, allocations: 27.92 kB / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/6.143, allocations: 0 / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/6.143, allocations: 27.81 kB / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/6.143, allocations: 16 kB / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/6.143, allocations: 7.938 kB / 3.319 GB, free: 334.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000248/6.143, allocations: 107.9 kB / 3.319 GB, free: 334.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/6.143, allocations: 0 / 3.319 GB, free: 334.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/6.143, allocations: 0 / 3.319 GB, free: 334.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/6.143, allocations: 32.52 kB / 3.319 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/6.143, allocations: 0 / 3.319 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/6.144, allocations: 31.88 kB / 3.319 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/6.144, allocations: 4 kB / 3.319 GB, free: 334.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/6.144, allocations: 217.1 kB / 3.32 GB, free: 333.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/6.144, allocations: 27.72 kB / 3.32 GB, free: 333.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/6.144, allocations: 175.2 kB / 3.32 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/6.144, allocations: 0 / 3.32 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.144, allocations: 0 / 3.32 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/6.144, allocations: 0 / 3.32 GB, free: 333.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/6.145, allocations: 0.5979 MB / 3.32 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/6.145, allocations: 0 / 3.32 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/6.145, allocations: 24.03 kB / 3.32 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/6.145, allocations: 7.984 kB / 3.321 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/6.145, allocations: 4 kB / 3.321 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/6.145, allocations: 0 / 3.321 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/6.145, allocations: 19.88 kB / 3.321 GB, free: 332.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/6.145, allocations: 381.4 kB / 3.321 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/6.146, allocations: 108.8 kB / 3.321 GB, free: 332.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/6.146, allocations: 15.94 kB / 3.321 GB, free: 332.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/6.146, allocations: 15.98 kB / 3.321 GB, free: 332.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/6.146, allocations: 15.98 kB / 3.321 GB, free: 332.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/6.146, allocations: 8 kB / 3.321 GB, free: 332.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001574/6.146, allocations: 186 kB / 3.321 GB, free: 332.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/6.146, allocations: 0 / 3.321 GB, free: 332.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008228/6.147, allocations: 179.8 kB / 3.321 GB, free: 331.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/6.149, allocations: 0.8994 MB / 3.322 GB, free: 331.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004549/6.149, allocations: 176.2 kB / 3.322 GB, free: 330.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/6.149, allocations: 4 kB / 3.322 GB, free: 330.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/6.149, allocations: 60.41 kB / 3.323 GB, free: 330.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/6.15, allocations: 137.9 kB / 3.323 GB, free: 330.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/6.151, allocations: 499.2 kB / 3.323 GB, free: 330.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/6.151, allocations: 0.7638 MB / 3.324 GB, free: 329.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002462/6.151, allocations: 62.23 kB / 3.324 GB, free: 329.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/6.151, allocations: 23.44 kB / 3.324 GB, free: 329.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.11e-07/6.151, allocations: 0 / 3.324 GB, free: 329.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02172/6.173, allocations: 14.89 MB / 3.338 GB, free: 314.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches