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.001597/0.001597, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.417/2.417, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.723, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2292/0.9523, allocations: 194 MB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.9652, allocations: 6.939 MB / 1.146 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.9678, allocations: 47.69 kB / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.9703, allocations: 0.683 MB / 1.147 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.9771, allocations: 2.345 MB / 1.149 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.9807, allocations: 1.409 MB / 1.15 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.9849, allocations: 2.99 MB / 1.153 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.9862, allocations: 0.8801 MB / 1.154 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.9887, allocations: 1.135 MB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.9899, allocations: 0.7961 MB / 1.156 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.9901, allocations: 103.9 kB / 1.156 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.9939, allocations: 2.05 MB / 1.158 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.9943, allocations: 358.9 kB / 1.158 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.995, allocations: 0.5908 MB / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.9988, allocations: 2.369 MB / 1.161 GB, free: 8.438 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9989, allocations: 8 kB / 1.161 GB, free: 8.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9989, allocations: 0 / 1.161 GB, free: 8.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.9989, allocations: 0 / 1.161 GB, free: 8.43 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.003445/1.002, allocations: 1.629 MB / 1.163 GB, free: 6.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.002, allocations: 8.031 kB / 1.163 GB, free: 6.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/1.005, allocations: 0.5332 MB / 1.163 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/1.007, allocations: 0.9791 MB / 1.164 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/1.009, allocations: 277 kB / 1.165 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.009, allocations: 68 kB / 1.165 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/1.011, allocations: 1.128 MB / 1.166 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.011, allocations: 4 kB / 1.166 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/1.011, allocations: 31.98 kB / 1.166 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/1.011, allocations: 37.23 kB / 1.166 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/1.015, allocations: 1.203 MB / 1.167 GB, free: 2.402 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.005681/1.02, allocations: 3.205 MB / 1.17 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.022, allocations: 0.688 MB / 1.171 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/1.023, allocations: 421.2 kB / 1.171 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009697/1.024, allocations: 1.025 MB / 1.172 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/1.025, allocations: 0.5221 MB / 1.173 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 2.254e-06/1.025, allocations: 0 / 1.173 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.002987/1.028, allocations: 1.217 MB / 1.174 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.028, allocations: 148.8 kB / 1.174 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/1.03, allocations: 1.196 MB / 1.175 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.313e-05/1.03, allocations: 37.7 kB / 1.175 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/1.031, allocations: 445.4 kB / 1.176 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.031, allocations: 193.2 kB / 1.176 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.031, allocations: 150.1 kB / 1.176 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.031, allocations: 326 kB / 1.176 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.033, allocations: 460.9 kB / 1.177 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.034, allocations: 0.6132 MB / 1.177 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/1.036, allocations: 0.9496 MB / 1.178 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.036, allocations: 0 / 1.178 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003354/1.04, allocations: 1.233 MB / 1.179 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/1.04, allocations: 43.75 kB / 1.179 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.04, allocations: 4 kB / 1.179 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.04, allocations: 4 kB / 1.179 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/1.041, allocations: 199.7 kB / 1.18 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.041, allocations: 8 kB / 1.18 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.042, allocations: 271.3 kB / 1.18 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/1.043, allocations: 35.98 kB / 1.18 GB, free: 4.539 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.0005084/1.043, allocations: 331.3 kB / 1.18 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.043, allocations: 114.6 kB / 1.18 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/1.045, allocations: 0.9953 MB / 1.181 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.045, allocations: 11.94 kB / 1.181 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.045, allocations: 0 / 1.181 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.045, allocations: 3.984 kB / 1.181 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/1.05, allocations: 3.166 MB / 1.184 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.05, allocations: 11.98 kB / 1.184 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/1.051, allocations: 115.8 kB / 1.185 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.051, allocations: 12 kB / 1.185 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/1.051, allocations: 24.11 kB / 1.185 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/1.051, allocations: 19.94 kB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.051, allocations: 11.94 kB / 1.185 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.053, allocations: 1.334 MB / 1.186 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.054, allocations: 323.4 kB / 1.186 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.054, allocations: 20 kB / 1.186 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.055, allocations: 111.9 kB / 1.186 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.055, allocations: 67.69 kB / 1.186 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/1.055, allocations: 43.98 kB / 1.186 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001563/1.057, allocations: 0.8638 MB / 1.187 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.057, allocations: 4 kB / 1.187 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001077/1.058, allocations: 303.8 kB / 1.188 GB, free: 12.35 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.0006887/1.059, allocations: 348.9 kB / 1.188 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003345/1.062, allocations: 1.045 MB / 1.189 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.062, allocations: 4 kB / 1.189 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/1.063, allocations: 0.5139 MB / 1.189 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.066, allocations: 0.5564 MB / 1.19 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/1.07, allocations: 2.054 MB / 1.192 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/1.07, allocations: 1.069 MB / 1.193 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001107/1.071, allocations: 274.9 kB / 1.193 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/1.072, allocations: 83.41 kB / 1.193 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/1.072, allocations: 0 / 1.193 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of Templates: time 0.03737/1.109, allocations: 22.06 MB / 1.215 GB, free: 444 kB / 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