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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001572/0.001572, allocations: 107.6 kB / 16.41 MB, free: 6.5 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.00191/0.00191, allocations: 188 kB / 17.34 MB, free: 5.738 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 474.5 MB / 0.7477 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001943, allocations: 63.89 kB / 1.073 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8771, allocations: 160.3 MB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05998/0.9371, allocations: 53.48 MB / 1.281 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.9563, allocations: 11.5 MB / 1.293 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.9595, allocations: 67.62 kB / 1.293 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.9623, allocations: 0.784 MB / 1.293 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.9695, allocations: 2.27 MB / 1.296 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.9735, allocations: 1.385 MB / 1.297 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006211/0.9797, allocations: 3.943 MB / 1.301 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.9819, allocations: 1.28 MB / 1.302 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.9857, allocations: 1.433 MB / 1.303 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.9877, allocations: 1.081 MB / 1.305 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.988, allocations: 136 kB / 1.305 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.9907, allocations: 1.045 MB / 1.306 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.9912, allocations: 446.5 kB / 1.306 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.9925, allocations: 0.8551 MB / 1.307 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.9971, allocations: 2.588 MB / 1.309 GB, free: 8.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9971, allocations: 0 / 1.309 GB, free: 8.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9971, allocations: 0 / 1.309 GB, free: 8.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.192e-05/0.9972, allocations: 0 / 1.309 GB, free: 8.352 MB / 1.029 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.004132/1.001, allocations: 2.075 MB / 1.312 GB, free: 6.219 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.001, allocations: 8.031 kB / 1.312 GB, free: 6.211 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/1.005, allocations: 0.5774 MB / 1.312 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/1.007, allocations: 1.427 MB / 1.313 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/1.008, allocations: 115.7 kB / 1.314 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.008, allocations: 96 kB / 1.314 GB, free: 3.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/1.011, allocations: 1.35 MB / 1.315 GB, free: 2.559 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.011, allocations: 3.938 kB / 1.315 GB, free: 2.555 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.011, allocations: 40 kB / 1.315 GB, free: 2.516 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/1.011, allocations: 24 kB / 1.315 GB, free: 2.492 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/1.015, allocations: 1.425 MB / 1.316 GB, free: 1.07 MB / 1.029 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.009071/1.024, allocations: 5.383 MB / 1.322 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/1.027, allocations: 1.073 MB / 1.323 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.029, allocations: 0.6066 MB / 1.323 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.03, allocations: 1.065 MB / 1.324 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/1.032, allocations: 0.6822 MB / 1.325 GB, free: 7.754 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/1.032, allocations: 0 / 1.325 GB, free: 7.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005294/1.037, allocations: 1.759 MB / 1.327 GB, free: 5.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/1.037, allocations: 59.97 kB / 1.327 GB, free: 5.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/1.04, allocations: 1.413 MB / 1.328 GB, free: 4.496 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.04, allocations: 37.7 kB / 1.328 GB, free: 4.453 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/1.04, allocations: 0.6549 MB / 1.329 GB, free: 3.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.041, allocations: 214.2 kB / 1.329 GB, free: 3.578 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/1.041, allocations: 166.5 kB / 1.329 GB, free: 3.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.041, allocations: 338 kB / 1.33 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.043, allocations: 0.5562 MB / 1.33 GB, free: 2.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/1.045, allocations: 0.7536 MB / 1.331 GB, free: 1.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.048, allocations: 1.185 MB / 1.332 GB, free: 448 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.048, allocations: 8 kB / 1.332 GB, free: 440 kB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004131/1.052, allocations: 1.441 MB / 1.333 GB, free: 14.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.052, allocations: 12.38 kB / 1.333 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.052, allocations: 8 kB / 1.333 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/1.052, allocations: 8 kB / 1.333 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.053, allocations: 251.6 kB / 1.334 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.053, allocations: 8 kB / 1.334 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.055, allocations: 187.2 kB / 1.334 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.055, allocations: 39.98 kB / 1.334 GB, free: 14.48 MB / 1.061 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.0007408/1.056, allocations: 361.5 kB / 1.334 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/1.056, allocations: 162.9 kB / 1.334 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/1.061, allocations: 1.407 MB / 1.336 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.061, allocations: 7.984 kB / 1.336 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.061, allocations: 7.984 kB / 1.336 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003336/1.064, allocations: 1.267 MB / 1.337 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/1.071, allocations: 2.961 MB / 1.34 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.071, allocations: 4 kB / 1.34 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.072, allocations: 204.1 kB / 1.34 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.072, allocations: 7.938 kB / 1.34 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/1.072, allocations: 23.97 kB / 1.34 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.072, allocations: 7.938 kB / 1.34 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.072, allocations: 4 kB / 1.34 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/1.078, allocations: 2.243 MB / 1.342 GB, free: 5.637 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/1.079, allocations: 355.8 kB / 1.343 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/1.08, allocations: 15.98 kB / 1.343 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.081, allocations: 115.9 kB / 1.343 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.081, allocations: 56.42 kB / 1.343 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.081, allocations: 31.97 kB / 1.343 GB, free: 5.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001966/1.083, allocations: 0.9986 MB / 1.344 GB, free: 4.059 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/1.083, allocations: 0 / 1.344 GB, free: 4.059 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00179/1.085, allocations: 467 kB / 1.344 GB, free: 3.602 MB / 1.061 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.001274/1.086, allocations: 457.5 kB / 1.345 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003984/1.09, allocations: 1.285 MB / 1.346 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.09, allocations: 4.375 kB / 1.346 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/1.092, allocations: 0.6555 MB / 1.347 GB, free: 1.203 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/1.097, allocations: 0.7578 MB / 1.347 GB, free: 468 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/1.103, allocations: 2.679 MB / 1.35 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.105, allocations: 1.225 MB / 1.351 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00166/1.106, allocations: 307 kB / 1.352 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/1.107, allocations: 127.4 kB / 1.352 GB, free: 12.04 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/1.107, allocations: 0 / 1.352 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Templates: time 0.05921/1.166, allocations: 30.6 MB / 1.382 GB, free: 13.76 MB / 1.107 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 -s gbode -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