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.007738/0.007738, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001749/0.001749, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 472.7 MB / 0.7453 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.9523, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04963/1.002, allocations: 53.47 MB / 1.278 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01635/1.018, allocations: 11.5 MB / 1.289 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/1.022, allocations: 63.62 kB / 1.289 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/1.024, allocations: 0.7567 MB / 1.29 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005607/1.029, allocations: 2.16 MB / 1.292 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/1.033, allocations: 1.379 MB / 1.293 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004771/1.037, allocations: 3.931 MB / 1.297 GB, free: 4.156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/1.04, allocations: 1.28 MB / 1.298 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/1.045, allocations: 1.41 MB / 1.3 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/1.047, allocations: 1.073 MB / 1.301 GB, free: 360 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005108/1.048, allocations: 140 kB / 1.301 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/1.051, allocations: 1.041 MB / 1.302 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006258/1.051, allocations: 446.5 kB / 1.302 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/1.053, allocations: 0.8551 MB / 1.303 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/1.057, allocations: 2.588 MB / 1.306 GB, free: 11.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.057, allocations: 3.938 kB / 1.306 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/1.057, allocations: 0 / 1.306 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.102e-05/1.057, allocations: 0 / 1.306 GB, free: 11.27 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.004365/1.061, allocations: 2.079 MB / 1.308 GB, free: 9.137 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/1.061, allocations: 12.03 kB / 1.308 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/1.065, allocations: 0.5735 MB / 1.308 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.067, allocations: 1.408 MB / 1.31 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.067, allocations: 119.7 kB / 1.31 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/1.068, allocations: 92 kB / 1.31 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.07, allocations: 1.35 MB / 1.311 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/1.07, allocations: 11.92 kB / 1.311 GB, free: 5.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.071, allocations: 36 kB / 1.311 GB, free: 5.445 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/1.071, allocations: 24 kB / 1.311 GB, free: 5.422 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/1.074, allocations: 1.429 MB / 1.313 GB, free: 3.996 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.00766/1.082, allocations: 5.383 MB / 1.318 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/1.085, allocations: 1.068 MB / 1.319 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.086, allocations: 0.6036 MB / 1.32 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/1.087, allocations: 1.069 MB / 1.321 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/1.089, allocations: 0.6744 MB / 1.321 GB, free: 10.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 4.799e-06/1.089, allocations: 0 / 1.321 GB, free: 10.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005579/1.094, allocations: 1.763 MB / 1.323 GB, free: 8.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.095, allocations: 59.97 kB / 1.323 GB, free: 8.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/1.097, allocations: 1.413 MB / 1.325 GB, free: 7.426 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.097, allocations: 41.7 kB / 1.325 GB, free: 7.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007202/1.098, allocations: 0.651 MB / 1.325 GB, free: 6.719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.098, allocations: 214.2 kB / 1.325 GB, free: 6.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/1.099, allocations: 174.5 kB / 1.326 GB, free: 6.328 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.099, allocations: 330 kB / 1.326 GB, free: 6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/1.1, allocations: 0.5523 MB / 1.326 GB, free: 5.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/1.102, allocations: 0.7552 MB / 1.327 GB, free: 4.621 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/1.105, allocations: 1.189 MB / 1.328 GB, free: 3.363 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.105, allocations: 4 kB / 1.328 GB, free: 3.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003851/1.109, allocations: 1.437 MB / 1.33 GB, free: 1.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.109, allocations: 13.34 kB / 1.33 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.109, allocations: 4 kB / 1.33 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.109, allocations: 12.42 kB / 1.33 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.11, allocations: 255.6 kB / 1.33 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.11, allocations: 11.94 kB / 1.33 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.112, allocations: 183.2 kB / 1.33 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/1.112, allocations: 43.95 kB / 1.33 GB, free: 1.402 MB / 1.045 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.0006207/1.113, allocations: 357.6 kB / 1.331 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/1.113, allocations: 155 kB / 1.331 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/1.116, allocations: 1.422 MB / 1.332 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.116, allocations: 8 kB / 1.332 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.116, allocations: 0 / 1.332 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00314/1.12, allocations: 1.271 MB / 1.333 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/1.125, allocations: 2.954 MB / 1.336 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.125, allocations: 4 kB / 1.336 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.126, allocations: 207.9 kB / 1.336 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.126, allocations: 7.984 kB / 1.336 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/1.126, allocations: 19.98 kB / 1.336 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/1.127, allocations: 8 kB / 1.336 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.127, allocations: 3.984 kB / 1.336 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/1.132, allocations: 2.239 MB / 1.339 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006646/1.132, allocations: 355.8 kB / 1.339 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.133, allocations: 24.14 kB / 1.339 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.134, allocations: 111.8 kB / 1.339 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.134, allocations: 64.34 kB / 1.339 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/1.134, allocations: 35.97 kB / 1.339 GB, free: 7.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001356/1.135, allocations: 0.9947 MB / 1.34 GB, free: 6.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 4 kB / 1.34 GB, free: 6.977 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001232/1.137, allocations: 467 kB / 1.341 GB, free: 6.52 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.0008731/1.138, allocations: 460.9 kB / 1.341 GB, free: 6.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003449/1.141, allocations: 1.274 MB / 1.342 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.141, allocations: 0 / 1.342 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/1.143, allocations: 0.6558 MB / 1.343 GB, free: 4.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/1.146, allocations: 0.7643 MB / 1.344 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.151, allocations: 2.686 MB / 1.346 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/1.151, allocations: 1.225 MB / 1.348 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001112/1.152, allocations: 303.4 kB / 1.348 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/1.153, allocations: 123.4 kB / 1.348 GB, free: 14.97 MB / 1.076 GB Notification: Performance of SimCode: time 1.843e-06/1.153, allocations: 0 / 1.348 GB, free: 14.97 MB / 1.076 GB Notification: Performance of Templates: time 0.05071/1.204, allocations: 30.5 MB / 1.378 GB, free: 0.8086 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches