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.001508/0.001508, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.001718/0.001718, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.159/2.159, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.02 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6375/0.9051, allocations: 162.9 MB / 1.11 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005119/0.9103, allocations: 3.49 MB / 1.114 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.911, allocations: 18.88 kB / 1.114 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.912, allocations: 270.6 kB / 1.114 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.9144, allocations: 0.8571 MB / 1.115 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.9156, allocations: 477.7 kB / 1.115 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.917, allocations: 1.095 MB / 1.116 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.9175, allocations: 328.6 kB / 1.117 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.9181, allocations: 405.1 kB / 1.117 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.919, allocations: 345.2 kB / 1.117 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.9191, allocations: 40.03 kB / 1.117 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.9206, allocations: 0.6956 MB / 1.118 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.9208, allocations: 164.2 kB / 1.118 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.9212, allocations: 279.2 kB / 1.118 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.9226, allocations: 0.9327 MB / 1.119 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9226, allocations: 1.953 kB / 1.119 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9226, allocations: 0 / 1.119 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.9227, allocations: 0 / 1.119 GB, free: 5.148 MB / 0.8575 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.001487/0.9241, allocations: 0.8696 MB / 1.12 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.9242, allocations: 9.219 kB / 1.12 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9253, allocations: 153 kB / 1.12 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.9261, allocations: 0.5027 MB / 1.121 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.9262, allocations: 19.48 kB / 1.121 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.9262, allocations: 29.84 kB / 1.121 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.9268, allocations: 324.3 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9268, allocations: 5.75 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.9269, allocations: 13.81 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.9269, allocations: 10.33 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.9273, allocations: 220 kB / 1.121 GB, free: 20.2 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.001975/0.9293, allocations: 1.418 MB / 1.123 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.9297, allocations: 220.7 kB / 1.123 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.9299, allocations: 111.9 kB / 1.123 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.9299, allocations: 5.984 kB / 1.123 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.9302, allocations: 160.7 kB / 1.123 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.9302, allocations: 0 / 1.123 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002977/0.9332, allocations: 1.091 MB / 1.124 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.9333, allocations: 54.59 kB / 1.124 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.9339, allocations: 466.5 kB / 1.125 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.934, allocations: 35.17 kB / 1.125 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.9342, allocations: 238.9 kB / 1.125 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.9343, allocations: 102.3 kB / 1.125 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9344, allocations: 78.31 kB / 1.125 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9346, allocations: 356.7 kB / 1.126 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.9349, allocations: 129 kB / 1.126 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.9351, allocations: 188.2 kB / 1.126 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.9356, allocations: 299.4 kB / 1.126 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9356, allocations: 1.5 kB / 1.126 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009749/0.9366, allocations: 489.9 kB / 1.127 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9366, allocations: 6.062 kB / 1.127 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.9366, allocations: 1.219 kB / 1.127 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.937, allocations: 85.3 kB / 1.127 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.9373, allocations: 69.86 kB / 1.127 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.9391, allocations: 1.904 MB / 1.129 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.9395, allocations: 15.38 kB / 1.129 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.9396, allocations: 14.97 kB / 1.129 GB, free: 16.5 MB / 0.8731 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.0002757/0.9399, allocations: 193.1 kB / 1.129 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.94, allocations: 50.59 kB / 1.129 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.9401, allocations: 54.42 kB / 1.129 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.9401, allocations: 9.578 kB / 1.129 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.9401, allocations: 1.062 kB / 1.129 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9401, allocations: 0 / 1.129 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.9418, allocations: 0.9696 MB / 1.13 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9418, allocations: 1.359 kB / 1.13 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.9422, allocations: 64.31 kB / 1.13 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.9425, allocations: 79.66 kB / 1.13 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.9425, allocations: 12.23 kB / 1.13 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.9439, allocations: 1.645 MB / 1.132 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9439, allocations: 5.375 kB / 1.132 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.945, allocations: 0.5671 MB / 1.132 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.9452, allocations: 152.1 kB / 1.132 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.9453, allocations: 9.953 kB / 1.132 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.9457, allocations: 11.89 kB / 1.132 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.9457, allocations: 25.16 kB / 1.132 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.9458, allocations: 12.66 kB / 1.132 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003687/0.9462, allocations: 307 kB / 1.133 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9462, allocations: 1.094 kB / 1.133 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006138/0.9468, allocations: 133.6 kB / 1.133 GB, free: 14.27 MB / 0.8731 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.001018/0.9478, allocations: 441.7 kB / 1.133 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007621/0.9486, allocations: 426.9 kB / 1.134 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9486, allocations: 0 / 1.134 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.9489, allocations: 241 kB / 1.134 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.95, allocations: 242.7 kB / 1.134 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.9517, allocations: 0.9855 MB / 1.135 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.9521, allocations: 0.8481 MB / 1.136 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.9525, allocations: 86.06 kB / 1.136 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.9526, allocations: 38.31 kB / 1.136 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/0.9526, allocations: 5.438 kB / 1.136 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.01606/0.9686, allocations: 8.806 MB / 1.145 GB, free: 12.05 MB / 0.8731 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 -s gbode -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