Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001146/0.001146, allocations: 183.8 kB / 492.3 MB, free: 0.6172 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.842/1.842, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.001164/0.001163, allocations: 83.92 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.441e-05/4.444e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4768, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.82/7.297, allocations: 2.155 GB / 3.367 GB, free: 122.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/7.297, allocations: 79.39 kB / 3.367 GB, free: 122.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.145/10.44, allocations: 0.6581 GB / 4.025 GB, free: 261.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.372e-06/10.44, allocations: 0 / 4.025 GB, free: 261.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001223/10.44, allocations: 38.28 kB / 4.025 GB, free: 261.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.0061/10.45, allocations: 1.477 MB / 4.027 GB, free: 261.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/10.45, allocations: 11.53 kB / 4.027 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/10.45, allocations: 0.534 MB / 4.027 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/10.49, allocations: 13.14 MB / 4.04 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001543/10.49, allocations: 318.7 kB / 4.041 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/10.49, allocations: 65.22 kB / 4.041 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/10.49, allocations: 0.9839 MB / 4.042 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/10.49, allocations: 3.562 kB / 4.042 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/10.49, allocations: 30.81 kB / 4.042 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/10.49, allocations: 36.31 kB / 4.042 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/10.49, allocations: 0.7903 MB / 4.042 GB, free: 260.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008849/10.5, allocations: 3.322 MB / 4.046 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/10.5, allocations: 0.5824 MB / 4.046 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/10.51, allocations: 369.1 kB / 4.047 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/10.51, allocations: 1.028 MB / 4.048 GB, free: 258.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009963/10.51, allocations: 484.8 kB / 4.048 GB, free: 258.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 5.34e-06/10.51, allocations: 0 / 4.048 GB, free: 258.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.002936/10.51, allocations: 0.8441 MB / 4.049 GB, free: 258 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/10.51, allocations: 136.5 kB / 4.049 GB, free: 257.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/10.51, allocations: 0.9571 MB / 4.05 GB, free: 257.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/10.51, allocations: 42.55 kB / 4.05 GB, free: 257.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/10.51, allocations: 442.9 kB / 4.05 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/10.51, allocations: 188.5 kB / 4.051 GB, free: 257.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/10.51, allocations: 13.75 kB / 4.051 GB, free: 257.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/10.51, allocations: 325.7 kB / 4.051 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/10.51, allocations: 322 kB / 4.051 GB, free: 257.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/10.52, allocations: 0.5159 MB / 4.052 GB, free: 257 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/10.52, allocations: 387.9 kB / 4.052 GB, free: 256.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/10.52, allocations: 0 / 4.052 GB, free: 256.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002581/10.52, allocations: 0.9636 MB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/10.52, allocations: 34.98 kB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/10.52, allocations: 3.688 kB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/10.52, allocations: 6.375 kB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/10.52, allocations: 217.5 kB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/10.52, allocations: 8.719 kB / 4.053 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/10.52, allocations: 313.1 kB / 4.054 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/10.52, allocations: 49.58 kB / 4.054 GB, free: 256.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0003624/10.52, allocations: 178.2 kB / 4.054 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/10.52, allocations: 118.1 kB / 4.054 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/10.53, allocations: 0.9368 MB / 4.055 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/10.53, allocations: 11.33 kB / 4.055 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/10.53, allocations: 0 / 4.055 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/10.53, allocations: 0 / 4.055 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/10.53, allocations: 3.146 MB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/10.53, allocations: 7.406 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/10.54, allocations: 122 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/10.54, allocations: 18.17 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/10.54, allocations: 30.75 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/10.54, allocations: 14.44 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/10.54, allocations: 14.09 kB / 4.058 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/10.54, allocations: 1.676 MB / 4.06 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/10.54, allocations: 335.8 kB / 4.06 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/10.54, allocations: 25.02 kB / 4.06 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/10.54, allocations: 128.4 kB / 4.06 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/10.54, allocations: 65.31 kB / 4.06 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/10.54, allocations: 44.88 kB / 4.06 GB, free: 254.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002258/10.55, allocations: 0.744 MB / 4.061 GB, free: 254.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/10.55, allocations: 0 / 4.061 GB, free: 254.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0033/10.55, allocations: 429.8 kB / 4.061 GB, free: 254.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.005802/10.55, allocations: 1.6 MB / 4.063 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00323/10.56, allocations: 0.8374 MB / 4.064 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/10.56, allocations: 6.469 kB / 4.064 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/10.56, allocations: 481.4 kB / 4.064 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/10.56, allocations: 0.5253 MB / 4.065 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/10.57, allocations: 1.573 MB / 4.066 GB, free: 253.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009959/10.57, allocations: 1.091 MB / 4.067 GB, free: 252.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00256/10.57, allocations: 287.6 kB / 4.068 GB, free: 252.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/10.57, allocations: 81.86 kB / 4.068 GB, free: 252.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.453e-06/10.57, allocations: 0 / 4.068 GB, free: 252.4 MB / 1.151 GB Notification: Performance of Templates: time 0.09262/10.67, allocations: 40.77 MB / 4.108 GB, free: 248.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches