Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001475/0.001475, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00179/0.00179, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.52 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4091, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1966/0.6058, allocations: 160.7 MB / 1.209 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007635/0.6135, allocations: 3.526 MB / 1.212 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.6151, allocations: 15.94 kB / 1.212 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.6165, allocations: 242.9 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.6198, allocations: 0.7975 MB / 1.213 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.6215, allocations: 426.3 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.6236, allocations: 1.368 MB / 1.215 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006398/0.6243, allocations: 292 kB / 1.215 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009244/0.6252, allocations: 346.4 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.6265, allocations: 358.5 kB / 1.216 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.6267, allocations: 20 kB / 1.216 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.6285, allocations: 0.7911 MB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.6288, allocations: 151.3 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.6293, allocations: 250.6 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.6309, allocations: 0.9425 MB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6309, allocations: 3.938 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6309, allocations: 0 / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.631, allocations: 0 / 1.218 GB, free: 14.09 MB / 0.9825 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.001531/0.6325, allocations: 0.8757 MB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6326, allocations: 8.031 kB / 1.219 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6337, allocations: 155.2 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.6345, allocations: 488.9 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.6345, allocations: 28.55 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.6346, allocations: 28 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.6352, allocations: 315.6 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.6352, allocations: 8 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.6353, allocations: 11.98 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.6353, allocations: 16.56 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.6357, allocations: 222 kB / 1.22 GB, free: 11.86 MB / 0.9825 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.001971/0.6377, allocations: 1.415 MB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.6381, allocations: 220.8 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.6383, allocations: 108.8 kB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.6383, allocations: 4 kB / 1.222 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.6386, allocations: 163.6 kB / 1.222 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 4.117e-06/0.6386, allocations: 3.984 kB / 1.222 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.003127/0.6418, allocations: 1.095 MB / 1.223 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6418, allocations: 59.34 kB / 1.223 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.6424, allocations: 457.9 kB / 1.224 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.6424, allocations: 37.7 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.6426, allocations: 244.1 kB / 1.224 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.6427, allocations: 94.64 kB / 1.224 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.6429, allocations: 81.97 kB / 1.224 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.643, allocations: 358.8 kB / 1.225 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.6433, allocations: 120.7 kB / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.6435, allocations: 182.9 kB / 1.225 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.644, allocations: 307.8 kB / 1.225 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.644, allocations: 4 kB / 1.225 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009919/0.645, allocations: 485.8 kB / 1.226 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6451, allocations: 8 kB / 1.226 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.6451, allocations: 4.156 kB / 1.226 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.6455, allocations: 84.73 kB / 1.226 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.6458, allocations: 67.91 kB / 1.226 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.6477, allocations: 1.721 MB / 1.227 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.6481, allocations: 27.95 kB / 1.227 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.6482, allocations: 12 kB / 1.227 GB, free: 4.121 MB / 0.9825 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.0003031/0.6485, allocations: 199.4 kB / 1.228 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.6486, allocations: 43.44 kB / 1.228 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.6487, allocations: 56.55 kB / 1.228 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6487, allocations: 4 kB / 1.228 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6487, allocations: 8 kB / 1.228 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6487, allocations: 0 / 1.228 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.6504, allocations: 0.9638 MB / 1.229 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6505, allocations: 0 / 1.229 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.6508, allocations: 63.89 kB / 1.229 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.6512, allocations: 84.83 kB / 1.229 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.6512, allocations: 11.98 kB / 1.229 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6526, allocations: 1.538 MB / 1.23 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6526, allocations: 0 / 1.23 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.6536, allocations: 0.5743 MB / 1.231 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.6539, allocations: 148.5 kB / 1.231 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.6539, allocations: 15.94 kB / 1.231 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.6543, allocations: 15.98 kB / 1.231 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6544, allocations: 19.97 kB / 1.231 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.6544, allocations: 15.98 kB / 1.231 GB, free: 132 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003747/0.6548, allocations: 303.1 kB / 1.231 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6548, allocations: 0 / 1.231 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005647/0.6554, allocations: 128 kB / 1.232 GB, free: 15.71 MB / 0.9981 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.001035/0.6564, allocations: 427.6 kB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.6572, allocations: 434.6 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6572, allocations: 0 / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.6575, allocations: 254.8 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6586, allocations: 224.8 kB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.6604, allocations: 1.16 MB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.6609, allocations: 0.8506 MB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.6612, allocations: 80.34 kB / 1.235 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6614, allocations: 39.44 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.6614, allocations: 0 / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.017/0.6784, allocations: 8.468 MB / 1.243 GB, free: 3.969 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches