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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001499/0.001499, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.916/2.916, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8626, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06137/0.924, allocations: 53.13 MB / 1.069 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.9417, allocations: 11.56 MB / 1.08 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.9441, allocations: 63.62 kB / 1.08 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.9468, allocations: 0.6196 MB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.9526, allocations: 2.002 MB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.9561, allocations: 1.244 MB / 1.084 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006373/0.9625, allocations: 5.047 MB / 1.089 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.9645, allocations: 1.091 MB / 1.09 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.9673, allocations: 1.198 MB / 1.091 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.9695, allocations: 1.085 MB / 1.092 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.9699, allocations: 72 kB / 1.092 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.9728, allocations: 0.951 MB / 1.093 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005468/0.9734, allocations: 374.5 kB / 1.093 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.9747, allocations: 0.7887 MB / 1.094 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.9789, allocations: 2.508 MB / 1.096 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9789, allocations: 0 / 1.096 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.979, allocations: 0 / 1.096 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.672e-05/0.979, allocations: 0 / 1.096 GB, free: 0.8047 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.004316/0.9833, allocations: 2.014 MB / 1.098 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.9834, allocations: 8.031 kB / 1.098 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.987, allocations: 0.5764 MB / 1.099 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.9896, allocations: 1.368 MB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.9898, allocations: 115.7 kB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.99, allocations: 107.9 kB / 1.101 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.9932, allocations: 1.35 MB / 1.102 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.9932, allocations: 11.94 kB / 1.102 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.9933, allocations: 36 kB / 1.102 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.9934, allocations: 28 kB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003881/0.9973, allocations: 1.425 MB / 1.103 GB, free: 9.617 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.00876/1.006, allocations: 5.354 MB / 1.109 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/1.009, allocations: 1.069 MB / 1.11 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/1.011, allocations: 0.6075 MB / 1.11 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009988/1.012, allocations: 1.069 MB / 1.111 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.014, allocations: 0.6783 MB / 1.112 GB, free: 336 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 3.427e-06/1.014, allocations: 0 / 1.112 GB, free: 336 kB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.005199/1.019, allocations: 1.75 MB / 1.114 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.019, allocations: 59.91 kB / 1.114 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.021, allocations: 1.401 MB / 1.115 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/1.021, allocations: 45.64 kB / 1.115 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/1.022, allocations: 0.6501 MB / 1.116 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.022, allocations: 197.1 kB / 1.116 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.022, allocations: 170.4 kB / 1.116 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.022, allocations: 334 kB / 1.116 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/1.024, allocations: 0.5523 MB / 1.117 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.026, allocations: 0.7574 MB / 1.118 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/1.029, allocations: 1.189 MB / 1.119 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.029, allocations: 0 / 1.119 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003858/1.033, allocations: 1.432 MB / 1.12 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.033, allocations: 11.94 kB / 1.12 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.033, allocations: 4 kB / 1.12 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.033, allocations: 8 kB / 1.12 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.034, allocations: 256 kB / 1.12 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.034, allocations: 8 kB / 1.12 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.036, allocations: 218.8 kB / 1.121 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/1.036, allocations: 43.97 kB / 1.121 GB, free: 7.051 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.0005887/1.036, allocations: 355.3 kB / 1.121 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.037, allocations: 150.2 kB / 1.121 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/1.04, allocations: 1.418 MB / 1.123 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.04, allocations: 12 kB / 1.123 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.04, allocations: 0 / 1.123 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003278/1.044, allocations: 1.259 MB / 1.124 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/1.05, allocations: 2.961 MB / 1.127 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.05, allocations: 4 kB / 1.127 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.051, allocations: 207.7 kB / 1.127 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.051, allocations: 4 kB / 1.127 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/1.051, allocations: 23.97 kB / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.051, allocations: 8 kB / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.051, allocations: 0 / 1.127 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/1.056, allocations: 2.23 MB / 1.129 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/1.057, allocations: 351 kB / 1.129 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.057, allocations: 16 kB / 1.129 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.058, allocations: 135.8 kB / 1.13 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.059, allocations: 56.45 kB / 1.13 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/1.059, allocations: 43.91 kB / 1.13 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001362/1.06, allocations: 0.983 MB / 1.131 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.06, allocations: 0 / 1.131 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001219/1.061, allocations: 459.3 kB / 1.131 GB, free: 12.21 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.0008495/1.062, allocations: 441.2 kB / 1.132 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003547/1.066, allocations: 1.273 MB / 1.133 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.066, allocations: 384 / 1.133 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.067, allocations: 0.6555 MB / 1.133 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.071, allocations: 0.7248 MB / 1.134 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/1.076, allocations: 3.133 MB / 1.137 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/1.077, allocations: 1.221 MB / 1.138 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001558/1.078, allocations: 314.5 kB / 1.139 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/1.079, allocations: 119.4 kB / 1.139 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of SimCode: time 1.012e-06/1.079, allocations: 0 / 1.139 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of Templates: time 0.05305/1.132, allocations: 28.67 MB / 1.167 GB, free: 7.941 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