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.001087/0.001088, allocations: 98.88 kB / 16.02 MB, free: 76 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.001624/0.001624, allocations: 186.2 kB / 16.92 MB, free: 6.684 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.367 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.442/2.442, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003554, allocations: 11.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7521, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2206/0.9727, allocations: 189.1 MB / 1.14 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.9842, allocations: 6.929 MB / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.9862, allocations: 43.69 kB / 1.147 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.9885, allocations: 0.5593 MB / 1.148 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.9954, allocations: 2.182 MB / 1.15 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.9993, allocations: 1.292 MB / 1.151 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0054/1.005, allocations: 3.74 MB / 1.155 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/1.006, allocations: 0.7677 MB / 1.156 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/1.009, allocations: 0.9568 MB / 1.156 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/1.011, allocations: 0.7975 MB / 1.157 GB, free: 312 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003392/1.012, allocations: 40 kB / 1.157 GB, free: 272 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/1.017, allocations: 2.225 MB / 1.159 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006137/1.017, allocations: 306.9 kB / 1.16 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/1.018, allocations: 0.5534 MB / 1.16 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/1.021, allocations: 1.738 MB / 1.162 GB, free: 11.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.021, allocations: 4 kB / 1.162 GB, free: 11.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.405e-06/1.021, allocations: 0 / 1.162 GB, free: 11.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.243e-05/1.022, allocations: 0 / 1.162 GB, free: 11.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.004207/1.026, allocations: 1.387 MB / 1.163 GB, free: 9.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.026, allocations: 12.03 kB / 1.163 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/1.029, allocations: 0.5996 MB / 1.164 GB, free: 9.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.032, allocations: 0.9868 MB / 1.165 GB, free: 8.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/1.033, allocations: 321 kB / 1.165 GB, free: 8.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/1.034, allocations: 64 kB / 1.165 GB, free: 7.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/1.037, allocations: 1.152 MB / 1.166 GB, free: 6.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.037, allocations: 7.938 kB / 1.166 GB, free: 6.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.037, allocations: 24 kB / 1.166 GB, free: 6.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/1.037, allocations: 41.3 kB / 1.166 GB, free: 6.707 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/1.041, allocations: 1.246 MB / 1.168 GB, free: 5.461 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.007213/1.048, allocations: 3.245 MB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/1.05, allocations: 0.7088 MB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/1.051, allocations: 435.9 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.052, allocations: 1.013 MB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.053, allocations: 0.5298 MB / 1.173 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 2.965e-06/1.053, allocations: 0 / 1.173 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.003236/1.056, allocations: 1.244 MB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.056, allocations: 148.8 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/1.059, allocations: 1.215 MB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.059, allocations: 41.64 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/1.06, allocations: 449.4 kB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/1.06, allocations: 189.2 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.06, allocations: 45.7 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.06, allocations: 334 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.061, allocations: 488.9 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.063, allocations: 0.6396 MB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/1.065, allocations: 0.977 MB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.065, allocations: 0 / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003503/1.069, allocations: 1.295 MB / 1.18 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/1.069, allocations: 33.7 kB / 1.18 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.069, allocations: 4 kB / 1.18 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.069, allocations: 7.984 kB / 1.18 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/1.07, allocations: 219.9 kB / 1.181 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.07, allocations: 4 kB / 1.181 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.072, allocations: 306.9 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.072, allocations: 35.98 kB / 1.181 GB, free: 7.375 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.0005962/1.072, allocations: 329.1 kB / 1.181 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/1.073, allocations: 118.6 kB / 1.181 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/1.075, allocations: 1.005 MB / 1.182 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.075, allocations: 15.94 kB / 1.182 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.075, allocations: 0 / 1.182 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.075, allocations: 8.438 kB / 1.182 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/1.081, allocations: 3.169 MB / 1.185 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.081, allocations: 8 kB / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/1.081, allocations: 132.2 kB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.081, allocations: 8 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/1.081, allocations: 27.98 kB / 1.186 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/1.081, allocations: 15.92 kB / 1.186 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.081, allocations: 11.94 kB / 1.186 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/1.084, allocations: 1.357 MB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/1.085, allocations: 331.4 kB / 1.187 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/1.085, allocations: 16 kB / 1.187 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.086, allocations: 127.9 kB / 1.187 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.086, allocations: 59.77 kB / 1.187 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.086, allocations: 43.97 kB / 1.188 GB, free: 300 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001709/1.088, allocations: 0.8873 MB / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.088, allocations: 0 / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001177/1.089, allocations: 295.8 kB / 1.189 GB, free: 15.11 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.0008284/1.09, allocations: 357.6 kB / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.093, allocations: 1.049 MB / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.093, allocations: 0 / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009625/1.094, allocations: 0.5248 MB / 1.191 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.098, allocations: 0.5363 MB / 1.191 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/1.102, allocations: 2.415 MB / 1.193 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/1.103, allocations: 1.065 MB / 1.194 GB, free: 9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/1.103, allocations: 91.41 kB / 1.195 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of SimCode: time 8.62e-07/1.103, allocations: 0 / 1.195 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.0323/1.135, allocations: 18.57 MB / 1.213 GB, free: 6.473 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches