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.001166/0.001166, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001138/0.001138, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.19 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 1.965/1.965, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.27 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5998/0.8327, allocations: 162.9 MB / 1.11 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.8377, allocations: 3.475 MB / 1.114 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.8383, allocations: 19.62 kB / 1.114 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.8391, allocations: 276.5 kB / 1.114 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.8413, allocations: 0.8597 MB / 1.115 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.8424, allocations: 474.5 kB / 1.115 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.8436, allocations: 1.1 MB / 1.116 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.844, allocations: 324.7 kB / 1.117 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.8445, allocations: 408 kB / 1.117 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/0.8454, allocations: 347.5 kB / 1.117 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.8455, allocations: 39.31 kB / 1.117 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.8469, allocations: 0.6961 MB / 1.118 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.8471, allocations: 163.8 kB / 1.118 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.8474, allocations: 270.1 kB / 1.118 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.8487, allocations: 0.9437 MB / 1.119 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8487, allocations: 0 / 1.119 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8487, allocations: 0 / 1.119 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8487, allocations: 2.578 kB / 1.119 GB, free: 5.586 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.001405/0.8501, allocations: 0.863 MB / 1.12 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8502, allocations: 11.16 kB / 1.12 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009497/0.8511, allocations: 155.5 kB / 1.12 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.8519, allocations: 0.4965 MB / 1.121 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8519, allocations: 20.31 kB / 1.121 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.852, allocations: 29.41 kB / 1.121 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.8525, allocations: 324.8 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.8525, allocations: 2.172 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.8525, allocations: 12.53 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.8526, allocations: 13.77 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.8529, allocations: 220.3 kB / 1.121 GB, free: 20.65 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.001767/0.8547, allocations: 1.417 MB / 1.123 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.8551, allocations: 223.6 kB / 1.123 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.8552, allocations: 111.4 kB / 1.123 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.8553, allocations: 6.203 kB / 1.123 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.8555, allocations: 156.9 kB / 1.123 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/0.8555, allocations: 1.125 kB / 1.123 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002528/0.8581, allocations: 1.095 MB / 1.124 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8581, allocations: 55.59 kB / 1.124 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.8586, allocations: 465.6 kB / 1.125 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.8587, allocations: 35.64 kB / 1.125 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.8588, allocations: 231.8 kB / 1.125 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.8589, allocations: 104.5 kB / 1.125 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.859, allocations: 77.86 kB / 1.125 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8591, allocations: 357.5 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.8594, allocations: 127.8 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8596, allocations: 191.1 kB / 1.126 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.86, allocations: 304.8 kB / 1.126 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.86, allocations: 1.203 kB / 1.126 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008496/0.8609, allocations: 490.8 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8609, allocations: 8.953 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8609, allocations: 1.75 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.8612, allocations: 82.47 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.8615, allocations: 67.69 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.863, allocations: 1.907 MB / 1.129 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.8634, allocations: 17.05 kB / 1.129 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.8634, allocations: 13.84 kB / 1.129 GB, free: 16.93 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.0002321/0.8637, allocations: 192.5 kB / 1.129 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.8637, allocations: 53.62 kB / 1.129 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.8639, allocations: 54.91 kB / 1.129 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8639, allocations: 7.578 kB / 1.129 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8639, allocations: 1.094 kB / 1.129 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8639, allocations: 1.969 kB / 1.129 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.8654, allocations: 0.9658 MB / 1.13 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8654, allocations: 1 kB / 1.13 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.8657, allocations: 64.28 kB / 1.13 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.866, allocations: 74.81 kB / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.866, allocations: 16.09 kB / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.8673, allocations: 1.649 MB / 1.132 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8673, allocations: 0 / 1.132 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.8682, allocations: 0.5685 MB / 1.132 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.8684, allocations: 149.3 kB / 1.132 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.8684, allocations: 11.88 kB / 1.132 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.8688, allocations: 11.14 kB / 1.132 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.8688, allocations: 25.53 kB / 1.132 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.8689, allocations: 12.84 kB / 1.132 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003379/0.8692, allocations: 308.5 kB / 1.133 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8692, allocations: 0 / 1.133 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005248/0.8697, allocations: 126.2 kB / 1.133 GB, free: 14.71 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.0009205/0.8707, allocations: 445.5 kB / 1.133 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006388/0.8713, allocations: 432 kB / 1.134 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8713, allocations: 1.062 kB / 1.134 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.8716, allocations: 241.1 kB / 1.134 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.8726, allocations: 234.9 kB / 1.134 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.874, allocations: 0.992 MB / 1.135 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.8744, allocations: 0.8518 MB / 1.136 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002664/0.8747, allocations: 78.52 kB / 1.136 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.8748, allocations: 35.12 kB / 1.136 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.8748, allocations: 0 / 1.136 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of Templates: time 0.01278/0.8876, allocations: 8.82 MB / 1.145 GB, free: 12.49 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 cvode -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