Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 393.5 MB / 408.4 MB, free: 11 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.00138/0.001379, allocations: 168 kB / 0.4902 GB, free: 2.234 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.582/1.582, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.001118/0.001118, allocations: 97.83 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 10.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.333, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.5478, allocations: 153.8 MB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5481, allocations: 91.92 kB / 1.38 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5634, allocations: 5.561 MB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5634, allocations: 4 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.5635, allocations: 4 kB / 1.385 GB, free: 10.03 MB / 0.8855 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.00079/0.5643, allocations: 462.6 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5643, allocations: 12.5 kB / 1.385 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.5644, allocations: 19.77 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.5649, allocations: 250.5 kB / 1.386 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.565, allocations: 11.98 kB / 1.386 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.565, allocations: 4 kB / 1.386 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.5653, allocations: 131.3 kB / 1.386 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5653, allocations: 0 / 1.386 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5653, allocations: 3.984 kB / 1.386 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5653, allocations: 3.938 kB / 1.386 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.5657, allocations: 191.8 kB / 1.386 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.566, allocations: 261.4 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.5665, allocations: 210.4 kB / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5665, allocations: 0 / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.5668, allocations: 131.2 kB / 1.387 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.5668, allocations: 0 / 1.387 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005702/0.5674, allocations: 249.4 kB / 1.387 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.5675, allocations: 85.05 kB / 1.387 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.5677, allocations: 229.7 kB / 1.387 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.5678, allocations: 29.7 kB / 1.387 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.5679, allocations: 108.1 kB / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.5679, allocations: 43.45 kB / 1.387 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5679, allocations: 0 / 1.387 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5681, allocations: 339.9 kB / 1.388 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.5682, allocations: 55.97 kB / 1.388 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.5684, allocations: 82.55 kB / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5685, allocations: 67.97 kB / 1.388 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5685, allocations: 0 / 1.388 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003961/0.5689, allocations: 213.4 kB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.569, allocations: 8 kB / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.569, allocations: 0 / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.569, allocations: 0 / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5692, allocations: 27.98 kB / 1.388 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.5692, allocations: 4.062 kB / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.5693, allocations: 7.938 kB / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.5693, allocations: 12.31 kB / 1.388 GB, free: 6.605 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.0001401/0.5694, allocations: 138.8 kB / 1.388 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.5695, allocations: 19.72 kB / 1.388 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.57, allocations: 280.8 kB / 1.388 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.57, allocations: 8 kB / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.57, allocations: 0 / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.57, allocations: 0 / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.5703, allocations: 285.5 kB / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5703, allocations: 0 / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5705, allocations: 35.92 kB / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5705, allocations: 0 / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.5705, allocations: 12 kB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5705, allocations: 3.938 kB / 1.389 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5705, allocations: 0 / 1.389 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.5709, allocations: 276.8 kB / 1.389 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.5711, allocations: 108.8 kB / 1.389 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5711, allocations: 4 kB / 1.389 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.5712, allocations: 11.98 kB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.5712, allocations: 11.98 kB / 1.389 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5713, allocations: 12 kB / 1.389 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002038/0.5715, allocations: 184.2 kB / 1.389 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5715, allocations: 4 kB / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003102/0.5718, allocations: 51.98 kB / 1.389 GB, free: 5.09 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.001266/0.5731, allocations: 472.8 kB / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.5734, allocations: 162 kB / 1.39 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5735, allocations: 0 / 1.39 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.5736, allocations: 91.89 kB / 1.39 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5739, allocations: 37.97 kB / 1.39 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.5746, allocations: 382.4 kB / 1.391 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.5749, allocations: 0.7367 MB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000136/0.575, allocations: 49.5 kB / 1.391 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.5751, allocations: 39.36 kB / 1.391 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.5751, allocations: 0 / 1.391 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of Templates: time 0.007178/0.5823, allocations: 3.024 MB / 1.394 GB, free: 280 kB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches