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.000997/0.0009968, allocations: 87.98 kB / 16.02 MB, free: 80 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.00138/0.00138, allocations: 183.1 kB / 16.92 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.289 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.363/2.363, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003236, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.6294, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1714/0.8008, allocations: 158.6 MB / 1.111 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.8064, allocations: 3.457 MB / 1.114 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.8071, allocations: 19.88 kB / 1.114 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.808, allocations: 242.9 kB / 1.114 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.8102, allocations: 0.7975 MB / 1.115 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.8114, allocations: 426 kB / 1.115 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.8132, allocations: 1.372 MB / 1.117 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.8137, allocations: 280 kB / 1.117 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.8144, allocations: 338.4 kB / 1.117 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.8154, allocations: 342 kB / 1.118 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.8155, allocations: 16 kB / 1.118 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.817, allocations: 0.7871 MB / 1.118 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.8172, allocations: 143.5 kB / 1.119 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.8175, allocations: 268.3 kB / 1.119 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.8185, allocations: 0.6898 MB / 1.119 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8185, allocations: 3.938 kB / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8185, allocations: 0 / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.8185, allocations: 4 kB / 1.119 GB, free: 7.039 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.001355/0.8199, allocations: 0.768 MB / 1.12 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8199, allocations: 8.031 kB / 1.12 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.821, allocations: 159.1 kB / 1.12 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.8218, allocations: 492.9 kB / 1.121 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.8218, allocations: 24.5 kB / 1.121 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.8219, allocations: 31.98 kB / 1.121 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.8225, allocations: 323.6 kB / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8225, allocations: 0 / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.8225, allocations: 12 kB / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.8226, allocations: 8.562 kB / 1.121 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.823, allocations: 230.1 kB / 1.121 GB, free: 4.91 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.002032/0.825, allocations: 1.422 MB / 1.123 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.8254, allocations: 218.7 kB / 1.123 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.8256, allocations: 108.8 kB / 1.123 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.8257, allocations: 7.938 kB / 1.123 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.826, allocations: 165.2 kB / 1.123 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.826, allocations: 0 / 1.123 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002822/0.8288, allocations: 1.086 MB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.8289, allocations: 63.34 kB / 1.124 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.8294, allocations: 461.8 kB / 1.125 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.8295, allocations: 33.69 kB / 1.125 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.8297, allocations: 240.3 kB / 1.125 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.8298, allocations: 98.56 kB / 1.125 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.8299, allocations: 41.69 kB / 1.125 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.83, allocations: 354.8 kB / 1.126 GB, free: 392 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.8302, allocations: 128.7 kB / 1.126 GB, free: 264 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.8305, allocations: 178.7 kB / 1.126 GB, free: 68 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.831, allocations: 311.8 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.831, allocations: 4 kB / 1.126 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009812/0.832, allocations: 482.2 kB / 1.127 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.832, allocations: 7.984 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.832, allocations: 4 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.8324, allocations: 80.91 kB / 1.127 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.8327, allocations: 67.91 kB / 1.127 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.8346, allocations: 1.748 MB / 1.129 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.835, allocations: 31.86 kB / 1.129 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.835, allocations: 16.06 kB / 1.129 GB, free: 13.16 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.0002731/0.8353, allocations: 191.6 kB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.8354, allocations: 43.53 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.8355, allocations: 52.56 kB / 1.129 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8355, allocations: 4 kB / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8355, allocations: 0 / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8355, allocations: 3.984 kB / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.8371, allocations: 0.9733 MB / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8371, allocations: 4 kB / 1.13 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.8375, allocations: 59.91 kB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.8378, allocations: 80.78 kB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.8378, allocations: 8 kB / 1.13 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.8392, allocations: 1.568 MB / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8392, allocations: 0 / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.8403, allocations: 0.5665 MB / 1.132 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.8405, allocations: 156.5 kB / 1.132 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.8406, allocations: 16.06 kB / 1.132 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.8409, allocations: 16.64 kB / 1.132 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.841, allocations: 15.97 kB / 1.132 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.841, allocations: 15.98 kB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000394/0.8414, allocations: 303.1 kB / 1.133 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8414, allocations: 0 / 1.133 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000567/0.842, allocations: 132 kB / 1.133 GB, free: 8.746 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.001019/0.843, allocations: 439.1 kB / 1.133 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007139/0.8438, allocations: 422.5 kB / 1.133 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8438, allocations: 0 / 1.133 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.8441, allocations: 254.5 kB / 1.134 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.8453, allocations: 229.5 kB / 1.134 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.847, allocations: 1.263 MB / 1.135 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.8474, allocations: 0.8583 MB / 1.136 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.8476, allocations: 35.44 kB / 1.136 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.8476, allocations: 0 / 1.136 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of Templates: time 0.01243/0.86, allocations: 9.189 MB / 1.145 GB, free: 12.21 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