Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 100.1 kB / 15.88 MB, free: 8 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.001438/0.001438, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.37/2.37, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001367, allocations: 67.88 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6682, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1735/0.8417, allocations: 160.7 MB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005877/0.8477, allocations: 3.507 MB / 1.11 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.8485, allocations: 19.94 kB / 1.11 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.8495, allocations: 242.9 kB / 1.11 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.8518, allocations: 0.7936 MB / 1.111 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.853, allocations: 430.4 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.8548, allocations: 1.372 MB / 1.113 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.8553, allocations: 292 kB / 1.113 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.856, allocations: 346.4 kB / 1.113 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.8571, allocations: 352.7 kB / 1.114 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.8572, allocations: 20 kB / 1.114 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.859, allocations: 0.7871 MB / 1.114 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.8593, allocations: 147.5 kB / 1.115 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.8596, allocations: 250.7 kB / 1.115 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.8606, allocations: 0.7093 MB / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8606, allocations: 0 / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8606, allocations: 0 / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.8606, allocations: 0 / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001714/0.8624, allocations: 0.8641 MB / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8624, allocations: 12.03 kB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.8636, allocations: 147.2 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.8644, allocations: 0.493 MB / 1.117 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.8644, allocations: 20.56 kB / 1.117 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.8645, allocations: 28 kB / 1.117 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.8651, allocations: 319.6 kB / 1.117 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8651, allocations: 3.938 kB / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.8652, allocations: 12 kB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.8652, allocations: 12.56 kB / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.8656, allocations: 218.1 kB / 1.118 GB, free: 5.457 MB / 0.8731 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.002112/0.8678, allocations: 1.422 MB / 1.119 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.8682, allocations: 223.2 kB / 1.119 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.8684, allocations: 108.8 kB / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.8684, allocations: 0 / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.8688, allocations: 165.2 kB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.8688, allocations: 4 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.003113/0.8719, allocations: 1.082 MB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.872, allocations: 59.34 kB / 1.121 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.8725, allocations: 461.8 kB / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.8726, allocations: 29.7 kB / 1.121 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.8728, allocations: 252.2 kB / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.8729, allocations: 94.56 kB / 1.121 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.873, allocations: 81.97 kB / 1.121 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8732, allocations: 350.8 kB / 1.122 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.8734, allocations: 128.7 kB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.8737, allocations: 186.7 kB / 1.122 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.8742, allocations: 307.8 kB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8742, allocations: 0 / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001038/0.8753, allocations: 493.9 kB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8753, allocations: 4 kB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8753, allocations: 4 kB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.8757, allocations: 84.95 kB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.876, allocations: 59.91 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.8777, allocations: 1.736 MB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.8781, allocations: 23.95 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8782, allocations: 16.06 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.8784, allocations: 195.3 kB / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.8785, allocations: 51.38 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.8786, allocations: 56.56 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8786, allocations: 4.125 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8786, allocations: 4 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8787, allocations: 3.984 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8803, allocations: 0.9654 MB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8803, allocations: 0 / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.8807, allocations: 63.97 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.881, allocations: 80.78 kB / 1.126 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.8811, allocations: 15.92 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.8824, allocations: 1.534 MB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8824, allocations: 0 / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.8835, allocations: 0.5782 MB / 1.128 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.8837, allocations: 148.6 kB / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.8838, allocations: 8 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.8842, allocations: 21.78 kB / 1.128 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.8843, allocations: 19.97 kB / 1.128 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.8843, allocations: 15.94 kB / 1.128 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003463/0.8847, allocations: 315.1 kB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8847, allocations: 0 / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005342/0.8852, allocations: 124 kB / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.8863, allocations: 442.6 kB / 1.129 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007171/0.887, allocations: 414.5 kB / 1.13 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.887, allocations: 4 kB / 1.13 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.8873, allocations: 242.6 kB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.8885, allocations: 233.5 kB / 1.13 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.8904, allocations: 1.199 MB / 1.131 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.8909, allocations: 0.8505 MB / 1.132 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.891, allocations: 43.42 kB / 1.132 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of SimCode: time 6.72e-07/0.891, allocations: 0 / 1.132 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of Templates: time 0.01256/0.9036, allocations: 9.216 MB / 1.141 GB, free: 12.8 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches