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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 194.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001421, allocations: 64.05 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7428, allocations: 140.4 MB / 0.9491 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2169/0.9597, allocations: 191.5 MB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.9725, allocations: 6.902 MB / 1.143 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.9749, allocations: 39.69 kB / 1.143 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.9774, allocations: 0.5944 MB / 1.143 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007666/0.9851, allocations: 2.206 MB / 1.146 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.9893, allocations: 1.307 MB / 1.147 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.9944, allocations: 2.998 MB / 1.15 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.9964, allocations: 0.9035 MB / 1.151 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.9999, allocations: 1.163 MB / 1.152 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/1.002, allocations: 0.8425 MB / 1.153 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003381/1.002, allocations: 100 kB / 1.153 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/1.007, allocations: 2.136 MB / 1.155 GB, free: 14.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007866/1.008, allocations: 362.9 kB / 1.155 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/1.009, allocations: 0.5947 MB / 1.156 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005236/1.014, allocations: 2.462 MB / 1.158 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.014, allocations: 0 / 1.158 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/1.014, allocations: 0 / 1.158 GB, free: 11.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.718e-05/1.014, allocations: 0 / 1.158 GB, free: 11.38 MB / 0.92 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.004632/1.019, allocations: 1.632 MB / 1.16 GB, free: 9.688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.019, allocations: 16.03 kB / 1.16 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.022, allocations: 0.5293 MB / 1.16 GB, free: 9.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/1.025, allocations: 0.9869 MB / 1.161 GB, free: 8.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/1.026, allocations: 277 kB / 1.162 GB, free: 7.844 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/1.026, allocations: 64 kB / 1.162 GB, free: 7.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/1.029, allocations: 1.128 MB / 1.163 GB, free: 6.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.029, allocations: 0 / 1.163 GB, free: 6.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/1.029, allocations: 31.98 kB / 1.163 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/1.029, allocations: 33.25 kB / 1.163 GB, free: 6.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/1.032, allocations: 1.2 MB / 1.164 GB, free: 5.355 MB / 0.92 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.006557/1.039, allocations: 3.201 MB / 1.167 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.041, allocations: 0.6841 MB / 1.168 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/1.041, allocations: 426.2 kB / 1.168 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/1.042, allocations: 1.021 MB / 1.169 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.043, allocations: 0.5182 MB / 1.17 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 4.258e-06/1.043, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.003115/1.047, allocations: 1.22 MB / 1.171 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.047, allocations: 152.8 kB / 1.171 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.049, allocations: 1.2 MB / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.049, allocations: 37.7 kB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/1.049, allocations: 441.4 kB / 1.173 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/1.05, allocations: 193.2 kB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/1.05, allocations: 146.1 kB / 1.173 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.05, allocations: 330 kB / 1.173 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.051, allocations: 464.8 kB / 1.174 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.053, allocations: 0.6133 MB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/1.055, allocations: 0.9418 MB / 1.175 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.055, allocations: 0 / 1.175 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003281/1.058, allocations: 1.236 MB / 1.176 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/1.058, allocations: 41.69 kB / 1.176 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.058, allocations: 4 kB / 1.176 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.058, allocations: 4 kB / 1.176 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/1.059, allocations: 199.9 kB / 1.177 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.06, allocations: 8 kB / 1.177 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.061, allocations: 270.9 kB / 1.177 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.061, allocations: 35.97 kB / 1.177 GB, free: 7.48 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006108/1.062, allocations: 329 kB / 1.177 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/1.062, allocations: 114.6 kB / 1.177 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/1.065, allocations: 0.9933 MB / 1.178 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.065, allocations: 15.94 kB / 1.178 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.065, allocations: 3.984 kB / 1.178 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.065, allocations: 0 / 1.178 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/1.07, allocations: 3.173 MB / 1.181 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.07, allocations: 8 kB / 1.181 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/1.071, allocations: 120.2 kB / 1.182 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.071, allocations: 12 kB / 1.182 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/1.071, allocations: 23.98 kB / 1.182 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/1.071, allocations: 11.94 kB / 1.182 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.071, allocations: 11.94 kB / 1.182 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.073, allocations: 1.334 MB / 1.183 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/1.074, allocations: 331.3 kB / 1.183 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/1.074, allocations: 27.98 kB / 1.183 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.075, allocations: 111.9 kB / 1.183 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.076, allocations: 55.75 kB / 1.183 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/1.076, allocations: 43.97 kB / 1.183 GB, free: 476 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001705/1.077, allocations: 0.8755 MB / 1.184 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/1.077, allocations: 0 / 1.184 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001343/1.079, allocations: 303.8 kB / 1.185 GB, free: 15.29 MB / 0.9512 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008726/1.08, allocations: 343.3 kB / 1.185 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.082, allocations: 1.048 MB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.082, allocations: 128 / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009643/1.083, allocations: 0.5179 MB / 1.186 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.086, allocations: 0.5493 MB / 1.187 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/1.09, allocations: 2.341 MB / 1.189 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/1.091, allocations: 1.073 MB / 1.19 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001222/1.092, allocations: 275.8 kB / 1.191 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.092, allocations: 79.42 kB / 1.191 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of SimCode: time 8.31e-07/1.092, allocations: 0 / 1.191 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.0389/1.131, allocations: 21.95 MB / 1.212 GB, free: 3.211 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches