Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001149/0.001149, allocations: 173.1 kB / 498.1 MB, free: 5.727 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0009872/0.0009869, allocations: 88.33 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004021, allocations: 13.91 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.5517, allocations: 153 MB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.552, allocations: 99.81 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.566, allocations: 5.563 MB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.566, allocations: 0 / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.566, allocations: 4 kB / 1.378 GB, free: 3.305 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006665/0.5667, allocations: 466.5 kB / 1.378 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5668, allocations: 12.03 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.5668, allocations: 19.77 kB / 1.378 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.5673, allocations: 254.7 kB / 1.379 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.5673, allocations: 0 / 1.379 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5673, allocations: 8 kB / 1.379 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5676, allocations: 127.2 kB / 1.379 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5676, allocations: 0 / 1.379 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.5677, allocations: 8 kB / 1.379 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5677, allocations: 4 kB / 1.379 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.568, allocations: 199.7 kB / 1.379 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.5684, allocations: 253.4 kB / 1.379 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.5688, allocations: 202.5 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.5689, allocations: 4 kB / 1.379 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.5691, allocations: 123.3 kB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.5691, allocations: 0 / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0005685/0.5697, allocations: 253.4 kB / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.5698, allocations: 81.11 kB / 1.38 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.57, allocations: 221.7 kB / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5701, allocations: 33.69 kB / 1.38 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.5702, allocations: 112.1 kB / 1.38 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.5702, allocations: 47.44 kB / 1.38 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.5702, allocations: 4 kB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5704, allocations: 330.8 kB / 1.38 GB, free: 380 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.5705, allocations: 63.91 kB / 1.381 GB, free: 316 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.5706, allocations: 89.12 kB / 1.381 GB, free: 220 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5707, allocations: 71.72 kB / 1.381 GB, free: 152 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5707, allocations: 0 / 1.381 GB, free: 152 kB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003622/0.5711, allocations: 213.5 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5711, allocations: 5.719 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5712, allocations: 4 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5712, allocations: 0 / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.5713, allocations: 31.92 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5713, allocations: 4 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.5714, allocations: 7.906 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.5714, allocations: 4 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001399/0.5716, allocations: 145.8 kB / 1.381 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.5716, allocations: 15.81 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.5721, allocations: 286.4 kB / 1.381 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5721, allocations: 4 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5721, allocations: 0 / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5721, allocations: 0 / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.5724, allocations: 277.6 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5724, allocations: 0 / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5725, allocations: 35.92 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5725, allocations: 4 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5725, allocations: 4 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5726, allocations: 8 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5726, allocations: 0 / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.573, allocations: 270.7 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.5731, allocations: 104.8 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.5731, allocations: 8 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/0.5732, allocations: 12 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5733, allocations: 15.97 kB / 1.382 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.5733, allocations: 8 kB / 1.382 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001842/0.5735, allocations: 188.2 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5735, allocations: 0 / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000281/0.5738, allocations: 52 kB / 1.382 GB, free: 14.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001191/0.575, allocations: 477.3 kB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.5753, allocations: 163.2 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5753, allocations: 4 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5755, allocations: 87.89 kB / 1.383 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.5757, allocations: 37.09 kB / 1.383 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.5764, allocations: 392 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.5767, allocations: 0.7367 MB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.5768, allocations: 49.5 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.5769, allocations: 35.42 kB / 1.384 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.5769, allocations: 4 kB / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.006149/0.5831, allocations: 3.015 MB / 1.387 GB, free: 9.535 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches