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.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.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.001467/0.001467, allocations: 107.9 kB / 16.41 MB, free: 6.441 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.001861/0.001861, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8544, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05893/0.9133, allocations: 53.47 MB / 1.261 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.9314, allocations: 11.5 MB / 1.272 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.9342, allocations: 59.69 kB / 1.272 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.9369, allocations: 0.7605 MB / 1.273 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.9439, allocations: 2.165 MB / 1.275 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.9479, allocations: 1.381 MB / 1.276 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00585/0.9538, allocations: 3.936 MB / 1.28 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.9562, allocations: 1.279 MB / 1.281 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.9598, allocations: 1.436 MB / 1.283 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.9619, allocations: 1.081 MB / 1.284 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.9624, allocations: 136 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.9656, allocations: 1.041 MB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007364/0.9663, allocations: 450.5 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.9681, allocations: 0.8512 MB / 1.286 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.9734, allocations: 2.58 MB / 1.289 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9734, allocations: 0 / 1.289 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9734, allocations: 0 / 1.289 GB, free: 11.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.75e-05/0.9735, allocations: 0 / 1.289 GB, free: 11.21 MB / 1.014 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.005047/0.9786, allocations: 2.014 MB / 1.291 GB, free: 9.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9786, allocations: 8.031 kB / 1.291 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.9825, allocations: 0.5764 MB / 1.291 GB, free: 8.555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.9854, allocations: 1.398 MB / 1.292 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.9856, allocations: 123.6 kB / 1.293 GB, free: 6.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.9859, allocations: 96 kB / 1.293 GB, free: 6.883 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.9894, allocations: 1.354 MB / 1.294 GB, free: 5.496 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.9894, allocations: 0 / 1.294 GB, free: 5.496 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.9896, allocations: 36 kB / 1.294 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.9896, allocations: 27.98 kB / 1.294 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/0.9939, allocations: 1.432 MB / 1.295 GB, free: 4 MB / 1.014 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.009022/1.003, allocations: 5.347 MB / 1.301 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/1.006, allocations: 1.081 MB / 1.302 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/1.008, allocations: 0.5958 MB / 1.302 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/1.009, allocations: 1.065 MB / 1.303 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/1.01, allocations: 0.6783 MB / 1.304 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=60): time 3.807e-06/1.01, allocations: 0 / 1.304 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=60): time 0.005381/1.016, allocations: 1.754 MB / 1.306 GB, free: 8.961 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.016, allocations: 63.97 kB / 1.306 GB, free: 8.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.018, allocations: 1.413 MB / 1.307 GB, free: 7.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.018, allocations: 45.64 kB / 1.307 GB, free: 7.414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/1.019, allocations: 0.6385 MB / 1.308 GB, free: 6.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.019, allocations: 209 kB / 1.308 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/1.02, allocations: 166.4 kB / 1.308 GB, free: 6.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.02, allocations: 334 kB / 1.309 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.021, allocations: 0.5562 MB / 1.309 GB, free: 5.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.023, allocations: 0.7652 MB / 1.31 GB, free: 4.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/1.027, allocations: 1.185 MB / 1.311 GB, free: 3.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.027, allocations: 0 / 1.311 GB, free: 3.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004239/1.031, allocations: 1.44 MB / 1.312 GB, free: 1.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.031, allocations: 7.938 kB / 1.312 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.031, allocations: 8 kB / 1.312 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.031, allocations: 8.438 kB / 1.312 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.032, allocations: 251.6 kB / 1.313 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.032, allocations: 15.92 kB / 1.313 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.034, allocations: 183 kB / 1.313 GB, free: 1.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.034, allocations: 39.97 kB / 1.313 GB, free: 1.461 MB / 1.029 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.000761/1.035, allocations: 353.6 kB / 1.313 GB, free: 1.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004758/1.035, allocations: 154.1 kB / 1.313 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.039, allocations: 1.411 MB / 1.315 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.039, allocations: 7.984 kB / 1.315 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.039, allocations: 0 / 1.315 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003362/1.043, allocations: 1.259 MB / 1.316 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/1.05, allocations: 2.973 MB / 1.319 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.05, allocations: 0 / 1.319 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.051, allocations: 207.8 kB / 1.319 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.192e-05/1.051, allocations: 8 kB / 1.319 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/1.051, allocations: 31.91 kB / 1.319 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.051, allocations: 4 kB / 1.319 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.051, allocations: 7.938 kB / 1.319 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.057, allocations: 2.219 MB / 1.321 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/1.058, allocations: 363 kB / 1.322 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/1.058, allocations: 16.06 kB / 1.322 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.059, allocations: 115.8 kB / 1.322 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.06, allocations: 52.38 kB / 1.322 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.06, allocations: 35.97 kB / 1.322 GB, free: 8.059 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001875/1.062, allocations: 0.9908 MB / 1.323 GB, free: 7.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 0 / 1.323 GB, free: 7.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001677/1.063, allocations: 467.4 kB / 1.323 GB, free: 6.613 MB / 1.045 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.001347/1.065, allocations: 453 kB / 1.324 GB, free: 6.172 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003923/1.069, allocations: 1.281 MB / 1.325 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.069, allocations: 0 / 1.325 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.071, allocations: 0.6636 MB / 1.326 GB, free: 4.227 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.075, allocations: 0.7634 MB / 1.326 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/1.08, allocations: 2.684 MB / 1.329 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/1.081, allocations: 1.221 MB / 1.33 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.082, allocations: 139.3 kB / 1.33 GB, free: 15.34 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.082, allocations: 0 / 1.33 GB, free: 15.34 MB / 1.061 GB Notification: Performance of Templates: time 0.04382/1.126, allocations: 26.55 MB / 1.356 GB, free: 4.98 MB / 1.076 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