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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001007/0.001013, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001095/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 16 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8072, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2174/1.025, allocations: 176.6 MB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01168/1.036, allocations: 6.573 MB / 1.133 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/1.038, allocations: 39.69 kB / 1.133 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/1.04, allocations: 468.8 kB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/1.045, allocations: 1.683 MB / 1.135 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.048, allocations: 1.077 MB / 1.136 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004191/1.053, allocations: 3.219 MB / 1.14 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/1.054, allocations: 0.6739 MB / 1.14 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.056, allocations: 0.9492 MB / 1.141 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/1.057, allocations: 0.7352 MB / 1.142 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/1.057, allocations: 40 kB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/1.06, allocations: 1.22 MB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/1.061, allocations: 302.9 kB / 1.143 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/1.061, allocations: 237.1 kB / 1.144 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/1.063, allocations: 1.617 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.063, allocations: 0 / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/1.063, allocations: 0 / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.063, allocations: 0 / 1.145 GB, free: 11.61 MB / 0.9044 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.002909/1.066, allocations: 1.4 MB / 1.147 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.066, allocations: 12.03 kB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/1.069, allocations: 0.6074 MB / 1.147 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/1.071, allocations: 0.9545 MB / 1.148 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/1.072, allocations: 317 kB / 1.148 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.072, allocations: 72 kB / 1.149 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/1.074, allocations: 1.14 MB / 1.15 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.074, allocations: 4 kB / 1.15 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/1.075, allocations: 31.95 kB / 1.15 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/1.075, allocations: 37.3 kB / 1.15 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/1.078, allocations: 1.246 MB / 1.151 GB, free: 5.668 MB / 0.9044 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.006029/1.084, allocations: 3.241 MB / 1.154 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.085, allocations: 0.7011 MB / 1.155 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/1.086, allocations: 431.6 kB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/1.087, allocations: 1.029 MB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.088, allocations: 0.5104 MB / 1.157 GB, free: 15.42 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/1.088, allocations: 0 / 1.157 GB, free: 15.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.003026/1.091, allocations: 1.248 MB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.091, allocations: 140.9 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.093, allocations: 1.204 MB / 1.159 GB, free: 12.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/1.094, allocations: 37.7 kB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/1.094, allocations: 441.4 kB / 1.16 GB, free: 12.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/1.094, allocations: 193.3 kB / 1.16 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/1.094, allocations: 8 kB / 1.16 GB, free: 12.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.094, allocations: 337.9 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/1.096, allocations: 480.9 kB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.097, allocations: 0.6521 MB / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.098, allocations: 0.5307 MB / 1.162 GB, free: 10.06 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/1.098, allocations: 0 / 1.162 GB, free: 10.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003088/1.102, allocations: 1.283 MB / 1.163 GB, free: 8.766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/1.102, allocations: 45.97 kB / 1.163 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.102, allocations: 4 kB / 1.163 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.102, allocations: 8 kB / 1.163 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/1.103, allocations: 207.7 kB / 1.163 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.103, allocations: 4 kB / 1.163 GB, free: 8.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.104, allocations: 302.9 kB / 1.164 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/1.104, allocations: 35.97 kB / 1.164 GB, free: 8.164 MB / 0.92 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006437/1.105, allocations: 331.3 kB / 1.164 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.105, allocations: 118.6 kB / 1.164 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.107, allocations: 1.007 MB / 1.165 GB, free: 6.688 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.107, allocations: 15.98 kB / 1.165 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.107, allocations: 0 / 1.165 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.107, allocations: 0 / 1.165 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/1.112, allocations: 3.173 MB / 1.168 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.112, allocations: 8 kB / 1.168 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/1.113, allocations: 119.8 kB / 1.168 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/1.113, allocations: 15.95 kB / 1.168 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/1.113, allocations: 28.05 kB / 1.168 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.113, allocations: 15.94 kB / 1.168 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.113, allocations: 11.94 kB / 1.168 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.115, allocations: 1.348 MB / 1.17 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/1.116, allocations: 331.3 kB / 1.17 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.116, allocations: 31.94 kB / 1.17 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.117, allocations: 123.9 kB / 1.17 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.117, allocations: 63.81 kB / 1.17 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/1.117, allocations: 39.97 kB / 1.17 GB, free: 1.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001513/1.119, allocations: 0.8794 MB / 1.171 GB, free: 204 kB / 0.92 GB Notification: Performance of sort global known variables: time 4.21e-07/1.119, allocations: 0 / 1.171 GB, free: 204 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001048/1.12, allocations: 296 kB / 1.171 GB, free: 15.91 MB / 0.9356 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 (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.0006647/1.12, allocations: 348.4 kB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002372/1.123, allocations: 1.049 MB / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.123, allocations: 0 / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009034/1.124, allocations: 0.5209 MB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.126, allocations: 0.5439 MB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/1.13, allocations: 2.279 MB / 1.176 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/1.131, allocations: 1.073 MB / 1.177 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001137/1.132, allocations: 276 kB / 1.177 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/1.132, allocations: 79.42 kB / 1.177 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of SimCode: time 6.42e-07/1.132, allocations: 0 / 1.177 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.03496/1.167, allocations: 20.59 MB / 1.198 GB, free: 5.238 MB / 0.9512 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