Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007801/0.007802, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001594/0.001595, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.83 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06014/1.081, allocations: 53.46 MB / 1.14 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01949/1.1, allocations: 11.48 MB / 1.151 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/1.105, allocations: 68.28 kB / 1.151 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003286/1.108, allocations: 0.7755 MB / 1.152 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008868/1.117, allocations: 2.269 MB / 1.154 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/1.122, allocations: 1.382 MB / 1.156 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007458/1.129, allocations: 3.949 MB / 1.16 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/1.132, allocations: 1.287 MB / 1.161 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/1.136, allocations: 1.437 MB / 1.162 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/1.138, allocations: 1.08 MB / 1.163 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/1.138, allocations: 142.3 kB / 1.163 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/1.142, allocations: 1.047 MB / 1.164 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005706/1.142, allocations: 436.9 kB / 1.165 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.144, allocations: 0.8539 MB / 1.166 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/1.15, allocations: 2.591 MB / 1.168 GB, free: 14.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.15, allocations: 0 / 1.168 GB, free: 14.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.075e-06/1.15, allocations: 0 / 1.168 GB, free: 14.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.414e-05/1.15, allocations: 3.938 kB / 1.168 GB, free: 14.37 MB / 0.92 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.005422/1.155, allocations: 2.08 MB / 1.17 GB, free: 12.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.155, allocations: 9.562 kB / 1.17 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/1.159, allocations: 0.5797 MB / 1.171 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/1.162, allocations: 1.403 MB / 1.172 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.162, allocations: 117.4 kB / 1.172 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.163, allocations: 98.31 kB / 1.172 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/1.166, allocations: 1.355 MB / 1.174 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.166, allocations: 5.062 kB / 1.174 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/1.166, allocations: 37.75 kB / 1.174 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/1.166, allocations: 27.17 kB / 1.174 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/1.17, allocations: 1.427 MB / 1.175 GB, free: 9.906 MB / 0.92 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.009213/1.179, allocations: 5.376 MB / 1.18 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/1.183, allocations: 1.067 MB / 1.181 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/1.184, allocations: 0.6023 MB / 1.182 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008112/1.185, allocations: 1.066 MB / 1.183 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/1.187, allocations: 0.6725 MB / 1.184 GB, free: 3.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/1.187, allocations: 4 kB / 1.184 GB, free: 3.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005947/1.193, allocations: 1.763 MB / 1.186 GB, free: 2.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/1.193, allocations: 62.08 kB / 1.186 GB, free: 2.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.195, allocations: 1.409 MB / 1.187 GB, free: 1.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.196, allocations: 42.92 kB / 1.187 GB, free: 1.434 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006785/1.196, allocations: 0.6466 MB / 1.188 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/1.197, allocations: 220.7 kB / 1.188 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.197, allocations: 171 kB / 1.188 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.197, allocations: 332.5 kB / 1.188 GB, free: 244 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.199, allocations: 0.5531 MB / 1.189 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.201, allocations: 0.7521 MB / 1.19 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/1.204, allocations: 1.19 MB / 1.191 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.204, allocations: 1.125 kB / 1.191 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004961/1.209, allocations: 1.442 MB / 1.192 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.209, allocations: 11.16 kB / 1.192 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/1.209, allocations: 4.781 kB / 1.192 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/1.209, allocations: 16.94 kB / 1.192 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.211, allocations: 254.6 kB / 1.192 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/1.211, allocations: 8.75 kB / 1.192 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.213, allocations: 183.5 kB / 1.193 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.213, allocations: 43.38 kB / 1.193 GB, free: 13.88 MB / 0.9356 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.001258/1.214, allocations: 359.5 kB / 1.193 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/1.215, allocations: 160.7 kB / 1.193 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/1.219, allocations: 1.414 MB / 1.195 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/1.219, allocations: 6.688 kB / 1.195 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.219, allocations: 5.188 kB / 1.195 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003842/1.223, allocations: 1.262 MB / 1.196 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007654/1.231, allocations: 2.975 MB / 1.199 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.231, allocations: 2.75 kB / 1.199 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.232, allocations: 208 kB / 1.199 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/1.232, allocations: 4.125 kB / 1.199 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/1.232, allocations: 25.59 kB / 1.199 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.232, allocations: 4.125 kB / 1.199 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.232, allocations: 2.75 kB / 1.199 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.238, allocations: 2.238 MB / 1.201 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/1.239, allocations: 361.9 kB / 1.201 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.239, allocations: 13.75 kB / 1.201 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.241, allocations: 118 kB / 1.202 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.241, allocations: 54.88 kB / 1.202 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/1.241, allocations: 41.73 kB / 1.202 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001468/1.242, allocations: 0.9996 MB / 1.203 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.242, allocations: 0 / 1.203 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001472/1.244, allocations: 467 kB / 1.203 GB, free: 7.023 MB / 0.9356 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.0008889/1.245, allocations: 456.3 kB / 1.204 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003474/1.248, allocations: 1.274 MB / 1.205 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.248, allocations: 4.375 kB / 1.205 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.25, allocations: 0.6555 MB / 1.205 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/1.253, allocations: 0.7666 MB / 1.206 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/1.258, allocations: 2.686 MB / 1.209 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/1.259, allocations: 1.221 MB / 1.21 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001163/1.26, allocations: 314.9 kB / 1.21 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/1.26, allocations: 123.4 kB / 1.21 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of SimCode: time 1.133e-06/1.26, allocations: 0 / 1.21 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.0495/1.31, allocations: 30.48 MB / 1.24 GB, free: 1.363 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches