Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001818/0.001818, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00205/0.00205, allocations: 193 kB / 16.26 MB, free: 6.621 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.835/2.835, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7414, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06431/0.8057, allocations: 53.03 MB / 1.069 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.8268, allocations: 11.41 MB / 1.08 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.8301, allocations: 51.69 kB / 1.08 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.8332, allocations: 0.6546 MB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007619/0.8408, allocations: 2.018 MB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.8453, allocations: 1.257 MB / 1.084 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007433/0.8528, allocations: 3.954 MB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.8558, allocations: 1.279 MB / 1.089 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0056/0.8614, allocations: 1.428 MB / 1.09 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.8643, allocations: 1.12 MB / 1.091 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.8647, allocations: 140 kB / 1.091 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.8683, allocations: 1.057 MB / 1.092 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.8691, allocations: 446.5 kB / 1.093 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.871, allocations: 0.8552 MB / 1.094 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006226/0.8772, allocations: 2.563 MB / 1.096 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8773, allocations: 0 / 1.096 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8773, allocations: 0 / 1.096 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.607e-05/0.8773, allocations: 0 / 1.096 GB, free: 1.203 MB / 0.8419 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.005382/0.8827, allocations: 2.014 MB / 1.098 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.8828, allocations: 12.03 kB / 1.098 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.8864, allocations: 0.5725 MB / 1.099 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.8896, allocations: 1.371 MB / 1.1 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.8897, allocations: 119.6 kB / 1.1 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.8899, allocations: 95.98 kB / 1.1 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.8933, allocations: 1.354 MB / 1.102 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.8934, allocations: 0 / 1.102 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.8935, allocations: 36 kB / 1.102 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.8935, allocations: 27.98 kB / 1.102 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.8975, allocations: 1.429 MB / 1.103 GB, free: 10.03 MB / 0.8575 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.01032/0.9079, allocations: 5.362 MB / 1.108 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.9111, allocations: 1.071 MB / 1.109 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.9127, allocations: 0.5969 MB / 1.11 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.9139, allocations: 1.073 MB / 1.111 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.9159, allocations: 0.6705 MB / 1.112 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 4.058e-06/0.9159, allocations: 0 / 1.112 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.005584/0.9215, allocations: 1.762 MB / 1.113 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.9216, allocations: 59.97 kB / 1.113 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.9245, allocations: 1.397 MB / 1.115 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.9247, allocations: 37.7 kB / 1.115 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.9258, allocations: 0.6502 MB / 1.115 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.9262, allocations: 205.1 kB / 1.116 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005908/0.9268, allocations: 166.4 kB / 1.116 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.9271, allocations: 330 kB / 1.116 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.9295, allocations: 0.5562 MB / 1.117 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.9315, allocations: 0.7535 MB / 1.117 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.935, allocations: 1.197 MB / 1.118 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.935, allocations: 4 kB / 1.119 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004428/0.9394, allocations: 1.432 MB / 1.12 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.9395, allocations: 11.94 kB / 1.12 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9395, allocations: 4 kB / 1.12 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.9396, allocations: 8 kB / 1.12 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.9409, allocations: 244.1 kB / 1.12 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.9409, allocations: 11.94 kB / 1.12 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.9428, allocations: 218.8 kB / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.943, allocations: 43.97 kB / 1.12 GB, free: 7.465 MB / 0.8731 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.0009492/0.944, allocations: 357.5 kB / 1.121 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/0.9446, allocations: 150.2 kB / 1.121 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.9491, allocations: 1.415 MB / 1.122 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.9492, allocations: 8 kB / 1.122 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.9492, allocations: 4 kB / 1.122 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003582/0.9528, allocations: 1.267 MB / 1.124 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008531/0.9613, allocations: 2.953 MB / 1.126 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.9614, allocations: 4.188 kB / 1.126 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.9626, allocations: 207.7 kB / 1.127 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.9627, allocations: 4 kB / 1.127 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.9628, allocations: 27.97 kB / 1.127 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.9628, allocations: 4 kB / 1.127 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.9628, allocations: 7.938 kB / 1.127 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.969, allocations: 2.227 MB / 1.129 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.97, allocations: 355 kB / 1.129 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/0.9705, allocations: 12 kB / 1.129 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.9721, allocations: 139.9 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.9723, allocations: 52.44 kB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.9724, allocations: 35.95 kB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001953/0.9744, allocations: 0.983 MB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9744, allocations: 4 kB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001932/0.9763, allocations: 455.3 kB / 1.131 GB, free: 12.62 MB / 0.8887 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.001309/0.9777, allocations: 441.8 kB / 1.131 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004388/0.9821, allocations: 1.332 MB / 1.133 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9821, allocations: 0 / 1.133 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.9841, allocations: 0.6558 MB / 1.133 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/0.9888, allocations: 0.7783 MB / 1.134 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.9953, allocations: 3.119 MB / 1.137 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.9967, allocations: 1.221 MB / 1.138 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001879/0.9986, allocations: 301 kB / 1.138 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.9992, allocations: 135.4 kB / 1.139 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of SimCode: time 1.092e-06/0.9992, allocations: 0 / 1.139 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of Templates: time 0.06134/1.061, allocations: 29.69 MB / 1.168 GB, free: 7.285 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches