Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001491/0.001491, allocations: 112.6 kB / 16.37 MB, free: 6 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.001598/0.001598, allocations: 196 kB / 17.31 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.378/1.378, 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 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.59 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2885, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05127/0.3399, allocations: 53.45 MB / 1.003 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3563, allocations: 11.51 MB / 1.015 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.3591, allocations: 63.62 kB / 1.015 GB, free: 6.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.3614, allocations: 0.7605 MB / 1.015 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.3675, allocations: 2.165 MB / 1.017 GB, free: 3.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.3711, allocations: 1.382 MB / 1.019 GB, free: 2.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005329/0.3764, allocations: 3.924 MB / 1.023 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.3787, allocations: 1.279 MB / 1.024 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.3818, allocations: 1.404 MB / 1.025 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.3838, allocations: 1.085 MB / 1.026 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.3842, allocations: 136 kB / 1.026 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.3875, allocations: 1.041 MB / 1.027 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006628/0.3881, allocations: 442.5 kB / 1.028 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.3897, allocations: 0.8512 MB / 1.029 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.3938, allocations: 2.574 MB / 1.031 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3938, allocations: 0 / 1.031 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3938, allocations: 4 kB / 1.031 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.3939, allocations: 4 kB / 1.031 GB, free: 5.727 MB / 0.8106 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.003547/0.3974, allocations: 2.018 MB / 1.033 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3975, allocations: 12.03 kB / 1.033 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.4006, allocations: 0.5647 MB / 1.034 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.403, allocations: 1.403 MB / 1.035 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4031, allocations: 123.7 kB / 1.035 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4033, allocations: 88 kB / 1.035 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.406, allocations: 1.354 MB / 1.037 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.406, allocations: 0 / 1.037 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.4061, allocations: 36.08 kB / 1.037 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.4062, allocations: 31.98 kB / 1.037 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.4096, allocations: 1.429 MB / 1.038 GB, free: 14.52 MB / 0.8262 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.007749/0.4173, allocations: 5.362 MB / 1.043 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.4201, allocations: 1.064 MB / 1.044 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.4216, allocations: 0.5997 MB / 1.045 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.4224, allocations: 1.073 MB / 1.046 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.424, allocations: 0.6744 MB / 1.047 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.4241, allocations: 0 / 1.047 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.004807/0.4289, allocations: 1.754 MB / 1.048 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.4289, allocations: 55.97 kB / 1.048 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.431, allocations: 1.409 MB / 1.05 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.4311, allocations: 41.7 kB / 1.05 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.4316, allocations: 0.6501 MB / 1.051 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4319, allocations: 213 kB / 1.051 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.4322, allocations: 166.5 kB / 1.051 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4324, allocations: 334 kB / 1.051 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.4338, allocations: 0.5484 MB / 1.052 GB, free: 24 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.4355, allocations: 0.7574 MB / 1.052 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.4384, allocations: 1.197 MB / 1.054 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4384, allocations: 4 kB / 1.054 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003772/0.4422, allocations: 1.436 MB / 1.055 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4423, allocations: 7.938 kB / 1.055 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4423, allocations: 4 kB / 1.055 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4423, allocations: 12 kB / 1.055 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4435, allocations: 247.9 kB / 1.055 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-05/0.4435, allocations: 11.94 kB / 1.055 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.445, allocations: 194.8 kB / 1.056 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4451, allocations: 43.97 kB / 1.056 GB, free: 11.96 MB / 0.8419 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.0006514/0.4458, allocations: 353.5 kB / 1.056 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.4461, allocations: 146.2 kB / 1.056 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.4501, allocations: 1.407 MB / 1.057 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.4501, allocations: 8 kB / 1.057 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4501, allocations: 0 / 1.057 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/0.4534, allocations: 1.275 MB / 1.059 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/0.46, allocations: 2.965 MB / 1.062 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4601, allocations: 0 / 1.062 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.4612, allocations: 204 kB / 1.062 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.4613, allocations: 4 kB / 1.062 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.4614, allocations: 31.97 kB / 1.062 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.4614, allocations: 7.938 kB / 1.062 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4614, allocations: 0 / 1.062 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/0.4667, allocations: 2.227 MB / 1.064 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.4675, allocations: 359 kB / 1.064 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.4679, allocations: 12 kB / 1.064 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.4694, allocations: 119.8 kB / 1.064 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.4696, allocations: 52.44 kB / 1.064 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.4697, allocations: 44.05 kB / 1.065 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00207/0.4718, allocations: 0.9947 MB / 1.066 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4718, allocations: 0 / 1.066 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001658/0.4734, allocations: 459.4 kB / 1.066 GB, free: 1.133 MB / 0.8419 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.001091/0.4745, allocations: 464.3 kB / 1.066 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003418/0.478, allocations: 1.281 MB / 1.068 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.478, allocations: 4 kB / 1.068 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.4797, allocations: 0.6519 MB / 1.068 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.4829, allocations: 0.7566 MB / 1.069 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.4879, allocations: 2.635 MB / 1.072 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.4892, allocations: 1.221 MB / 1.073 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001587/0.4908, allocations: 311.4 kB / 1.073 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.4914, allocations: 123.4 kB / 1.073 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/0.4914, allocations: 4 kB / 1.073 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of Templates: time 0.5417/1.033, allocations: 30.27 MB / 1.103 GB, free: 126.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches