Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 92.08 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.001214/0.001214, allocations: 179 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 16.84 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3565, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05424/0.4108, allocations: 52.12 MB / 1.11 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.4306, allocations: 11.42 MB / 1.121 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.4334, allocations: 47.69 kB / 1.121 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.4359, allocations: 0.6295 MB / 1.122 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.4426, allocations: 1.994 MB / 1.124 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.4467, allocations: 1.24 MB / 1.125 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007379/0.4541, allocations: 5.052 MB / 1.13 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.4564, allocations: 1.073 MB / 1.131 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.4593, allocations: 1.159 MB / 1.132 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4615, allocations: 1.046 MB / 1.133 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.462, allocations: 56 kB / 1.133 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.465, allocations: 0.9314 MB / 1.134 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.4657, allocations: 354.5 kB / 1.135 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.4674, allocations: 0.7748 MB / 1.135 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.4706, allocations: 1.929 MB / 1.137 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4706, allocations: 4 kB / 1.137 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4706, allocations: 0 / 1.137 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.069e-05/0.4707, allocations: 0 / 1.137 GB, free: 4.875 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004125/0.4748, allocations: 1.73 MB / 1.139 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4749, allocations: 15.91 kB / 1.139 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.4787, allocations: 0.6233 MB / 1.14 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.482, allocations: 1.375 MB / 1.141 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.4822, allocations: 119.7 kB / 1.141 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.4825, allocations: 88 kB / 1.141 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.486, allocations: 1.393 MB / 1.142 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.4861, allocations: 0 / 1.142 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.4862, allocations: 40 kB / 1.143 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.4863, allocations: 20 kB / 1.143 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.4905, allocations: 1.507 MB / 1.144 GB, free: 13.82 MB / 0.9044 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.009407/0.4999, allocations: 5.405 MB / 1.149 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.5031, allocations: 1.118 MB / 1.15 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.5049, allocations: 0.6395 MB / 1.151 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/0.5058, allocations: 1.065 MB / 1.152 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.5078, allocations: 0.7212 MB / 1.153 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.725e-06/0.5079, allocations: 0 / 1.153 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005848/0.5137, allocations: 1.86 MB / 1.155 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.5138, allocations: 59.97 kB / 1.155 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.5164, allocations: 1.394 MB / 1.156 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.5166, allocations: 41.7 kB / 1.156 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.5173, allocations: 0.6501 MB / 1.157 GB, free: 316 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.5176, allocations: 201 kB / 1.157 GB, free: 112 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5177, allocations: 69.67 kB / 1.157 GB, free: 36 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5179, allocations: 334 kB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.5197, allocations: 0.5952 MB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.5217, allocations: 0.7888 MB / 1.159 GB, free: 14.24 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.525, allocations: 1.263 MB / 1.16 GB, free: 12.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.5251, allocations: 4 kB / 1.16 GB, free: 12.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004253/0.5293, allocations: 1.503 MB / 1.161 GB, free: 11.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5294, allocations: 17.28 kB / 1.161 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5294, allocations: 4 kB / 1.161 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.5294, allocations: 8.438 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.5308, allocations: 275.6 kB / 1.162 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.5308, allocations: 8 kB / 1.162 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5326, allocations: 238.8 kB / 1.162 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5328, allocations: 43.97 kB / 1.162 GB, free: 10.81 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007827/0.5335, allocations: 353.6 kB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.5339, allocations: 146.2 kB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.5383, allocations: 1.493 MB / 1.164 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5383, allocations: 8 kB / 1.164 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5383, allocations: 0 / 1.164 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003582/0.5419, allocations: 1.337 MB / 1.165 GB, free: 7.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/0.5488, allocations: 3.024 MB / 1.168 GB, free: 4.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.5488, allocations: 4.031 kB / 1.168 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.55, allocations: 219.7 kB / 1.168 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.5501, allocations: 8 kB / 1.168 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/0.5502, allocations: 23.97 kB / 1.168 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.5502, allocations: 7.938 kB / 1.168 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5502, allocations: 8 kB / 1.168 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.5562, allocations: 2.336 MB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/0.5571, allocations: 371 kB / 1.171 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.5574, allocations: 19.98 kB / 1.171 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.559, allocations: 151.8 kB / 1.171 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.5591, allocations: 52.42 kB / 1.171 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/0.5592, allocations: 35.97 kB / 1.171 GB, free: 1.039 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001629/0.5608, allocations: 0.983 MB / 1.172 GB, free: 60 kB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5609, allocations: 7.938 kB / 1.172 GB, free: 52 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001543/0.5624, allocations: 447.4 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009833/0.5634, allocations: 448.3 kB / 1.173 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004049/0.5675, allocations: 1.352 MB / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.5675, allocations: 0 / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.5695, allocations: 0.6948 MB / 1.175 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/0.5744, allocations: 0.7455 MB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/0.5807, allocations: 3.258 MB / 1.179 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.5819, allocations: 1.218 MB / 1.18 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/0.5828, allocations: 143.4 kB / 1.18 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of SimCode: time 1.303e-06/0.5828, allocations: 0 / 1.18 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Templates: time 0.04422/0.627, allocations: 25.95 MB / 1.206 GB, free: 13.91 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches