Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 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.001638/0.001638, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.89 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7267, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1815/0.9082, allocations: 162.9 MB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005537/0.9138, allocations: 3.481 MB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.9145, allocations: 19.94 kB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.9154, allocations: 278.4 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.9176, allocations: 0.8594 MB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.9188, allocations: 465.6 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.9201, allocations: 1.108 MB / 1.182 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.9205, allocations: 320.1 kB / 1.183 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.9211, allocations: 402.4 kB / 1.183 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008318/0.9219, allocations: 357.2 kB / 1.183 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.922, allocations: 40 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.9238, allocations: 0.6976 MB / 1.184 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.9241, allocations: 159.5 kB / 1.184 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.9244, allocations: 274.6 kB / 1.185 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.926, allocations: 0.9231 MB / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.926, allocations: 0 / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.246e-06/0.9261, allocations: 0 / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.9261, allocations: 0 / 1.185 GB, free: 5.625 MB / 0.9356 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.001754/0.9278, allocations: 0.8681 MB / 1.186 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.9279, allocations: 8.031 kB / 1.186 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.9291, allocations: 159.1 kB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.9299, allocations: 488.9 kB / 1.187 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.93, allocations: 28.55 kB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.93, allocations: 31.91 kB / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.9306, allocations: 319.7 kB / 1.187 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.9306, allocations: 4 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.9307, allocations: 8 kB / 1.187 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.9307, allocations: 20.44 kB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.9311, allocations: 222.1 kB / 1.188 GB, free: 3.387 MB / 0.9356 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.001883/0.933, allocations: 1.418 MB / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.9334, allocations: 215.4 kB / 1.189 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.9336, allocations: 116.8 kB / 1.189 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.9336, allocations: 4 kB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.9339, allocations: 161.2 kB / 1.189 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.9339, allocations: 0 / 1.189 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002895/0.9368, allocations: 1.095 MB / 1.19 GB, free: 180 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.9369, allocations: 55.34 kB / 1.191 GB, free: 112 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.9374, allocations: 457.9 kB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.9374, allocations: 37.7 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.9376, allocations: 236.2 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.9377, allocations: 98.64 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.9378, allocations: 77.97 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.938, allocations: 362.7 kB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9382, allocations: 128.7 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.9385, allocations: 182.7 kB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.9389, allocations: 307.9 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9389, allocations: 0 / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009403/0.9399, allocations: 493.8 kB / 1.193 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9399, allocations: 4 kB / 1.193 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9399, allocations: 4 kB / 1.193 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.9403, allocations: 80.8 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.9406, allocations: 72.03 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.9428, allocations: 1.904 MB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.9432, allocations: 15.95 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.9433, allocations: 16 kB / 1.195 GB, free: 11.47 MB / 0.9512 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.0003565/0.9437, allocations: 189.2 kB / 1.195 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9438, allocations: 59.31 kB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.9439, allocations: 52.62 kB / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9439, allocations: 4 kB / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.9439, allocations: 0 / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.9439, allocations: 3.984 kB / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.9458, allocations: 0.968 MB / 1.196 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9458, allocations: 4 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.9461, allocations: 55.97 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.9465, allocations: 84.69 kB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.9465, allocations: 11.94 kB / 1.196 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.948, allocations: 1.653 MB / 1.198 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.948, allocations: 0 / 1.198 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.949, allocations: 0.5739 MB / 1.198 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.9492, allocations: 148.5 kB / 1.199 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.9493, allocations: 15.92 kB / 1.199 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.9496, allocations: 11.94 kB / 1.199 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.9497, allocations: 19.97 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.9497, allocations: 8 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003558/0.9501, allocations: 315.1 kB / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9501, allocations: 0 / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005435/0.9506, allocations: 132 kB / 1.199 GB, free: 6.934 MB / 0.9512 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.001046/0.9517, allocations: 433.3 kB / 1.199 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008282/0.9525, allocations: 438.3 kB / 1.2 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9526, allocations: 4 kB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.9529, allocations: 247.1 kB / 1.2 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.954, allocations: 239.9 kB / 1.2 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.956, allocations: 1.011 MB / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.9565, allocations: 0.8504 MB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.9569, allocations: 80.33 kB / 1.202 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.957, allocations: 43.36 kB / 1.202 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/0.957, allocations: 3.938 kB / 1.202 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of Templates: time 0.01648/0.9735, allocations: 8.806 MB / 1.211 GB, free: 11.03 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches