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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001659/0.00166, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001713/0.001713, allocations: 191 kB / 17.29 MB, free: 5.516 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.38 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.7276/1.05, allocations: 53.46 MB / 1.079 GB, free: 19.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0189/1.069, allocations: 11.49 MB / 1.09 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/1.073, allocations: 60.75 kB / 1.09 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/1.076, allocations: 0.7671 MB / 1.091 GB, free: 19.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009565/1.086, allocations: 2.159 MB / 1.093 GB, free: 19.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005309/1.091, allocations: 1.378 MB / 1.094 GB, free: 19.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009/1.1, allocations: 3.932 MB / 1.098 GB, free: 18.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/1.104, allocations: 1.276 MB / 1.099 GB, free: 17.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005674/1.109, allocations: 1.413 MB / 1.101 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/1.113, allocations: 1.072 MB / 1.102 GB, free: 16.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005908/1.113, allocations: 138.7 kB / 1.102 GB, free: 16.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.118, allocations: 1.046 MB / 1.103 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006824/1.119, allocations: 439.4 kB / 1.103 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/1.12, allocations: 0.8583 MB / 1.104 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/1.127, allocations: 2.583 MB / 1.107 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.127, allocations: 0 / 1.107 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.156e-06/1.127, allocations: 0 / 1.107 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.826e-05/1.127, allocations: 1.188 kB / 1.107 GB, free: 14.77 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.005008/1.132, allocations: 2.013 MB / 1.109 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/1.132, allocations: 13.12 kB / 1.109 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/1.136, allocations: 0.5728 MB / 1.109 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/1.139, allocations: 1.395 MB / 1.111 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/1.139, allocations: 125.2 kB / 1.111 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.139, allocations: 91.12 kB / 1.111 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/1.142, allocations: 1.354 MB / 1.112 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/1.142, allocations: 4.688 kB / 1.112 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.142, allocations: 37.88 kB / 1.112 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/1.143, allocations: 23.73 kB / 1.112 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/1.146, allocations: 1.43 MB / 1.114 GB, free: 11.5 MB / 0.8419 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.009793/1.156, allocations: 5.364 MB / 1.119 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/1.159, allocations: 1.075 MB / 1.12 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/1.161, allocations: 0.5993 MB / 1.121 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/1.162, allocations: 1.066 MB / 1.122 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/1.163, allocations: 0.675 MB / 1.122 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.296e-06/1.163, allocations: 0 / 1.122 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.005631/1.169, allocations: 1.756 MB / 1.124 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.169, allocations: 62.75 kB / 1.124 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/1.171, allocations: 1.408 MB / 1.125 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.172, allocations: 42.7 kB / 1.125 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/1.172, allocations: 0.6454 MB / 1.126 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/1.172, allocations: 203.9 kB / 1.126 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/1.173, allocations: 165.9 kB / 1.126 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/1.173, allocations: 337.1 kB / 1.127 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.174, allocations: 0.5499 MB / 1.127 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.176, allocations: 0.7589 MB / 1.128 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/1.179, allocations: 1.201 MB / 1.129 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.179, allocations: 1.125 kB / 1.129 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00405/1.183, allocations: 1.433 MB / 1.131 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.183, allocations: 10.62 kB / 1.131 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.183, allocations: 5 kB / 1.131 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/1.183, allocations: 9.125 kB / 1.131 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.185, allocations: 252.3 kB / 1.131 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/1.185, allocations: 17.12 kB / 1.131 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.186, allocations: 188.8 kB / 1.131 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.187, allocations: 37.73 kB / 1.131 GB, free: 2.293 MB / 0.8419 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.0007737/1.187, allocations: 362.4 kB / 1.131 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/1.188, allocations: 148.1 kB / 1.132 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/1.192, allocations: 1.411 MB / 1.133 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.192, allocations: 9.422 kB / 1.133 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.192, allocations: 7.984 kB / 1.133 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003375/1.195, allocations: 1.266 MB / 1.134 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007497/1.203, allocations: 2.968 MB / 1.137 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.203, allocations: 2.438 kB / 1.137 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.204, allocations: 199.7 kB / 1.137 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.204, allocations: 8.656 kB / 1.137 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/1.204, allocations: 24.25 kB / 1.137 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/1.204, allocations: 8.438 kB / 1.137 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.204, allocations: 3.406 kB / 1.137 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/1.21, allocations: 2.225 MB / 1.14 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.212, allocations: 356.2 kB / 1.14 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/1.212, allocations: 13.72 kB / 1.14 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.213, allocations: 122.2 kB / 1.14 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.213, allocations: 51.31 kB / 1.14 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.213, allocations: 37.45 kB / 1.14 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001756/1.215, allocations: 0.9939 MB / 1.141 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/1.215, allocations: 0 / 1.141 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001929/1.217, allocations: 463.3 kB / 1.142 GB, free: 13.09 MB / 0.8575 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.001259/1.218, allocations: 455.9 kB / 1.142 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003885/1.222, allocations: 1.278 MB / 1.143 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/1.222, allocations: 0 / 1.143 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.224, allocations: 0.6534 MB / 1.144 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/1.228, allocations: 0.7691 MB / 1.145 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/1.234, allocations: 2.646 MB / 1.147 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/1.235, allocations: 1.224 MB / 1.148 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001694/1.236, allocations: 310.2 kB / 1.149 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.237, allocations: 126.5 kB / 1.149 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of SimCode: time 1.583e-06/1.237, allocations: 0 / 1.149 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.05344/1.29, allocations: 30.27 MB / 1.178 GB, free: 15.25 MB / 0.8887 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 cvode -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