Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007545/0.007545, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001598/0.001598, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.078, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05876/1.137, allocations: 53.47 MB / 1.219 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01953/1.156, allocations: 11.5 MB / 1.23 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/1.16, allocations: 63.62 kB / 1.23 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002962/1.163, allocations: 0.7489 MB / 1.231 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008347/1.171, allocations: 2.163 MB / 1.233 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004988/1.176, allocations: 1.385 MB / 1.234 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009682/1.186, allocations: 3.93 MB / 1.238 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/1.19, allocations: 1.287 MB / 1.239 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/1.195, allocations: 1.402 MB / 1.241 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/1.199, allocations: 1.081 MB / 1.242 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/1.2, allocations: 140 kB / 1.242 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/1.206, allocations: 1.041 MB / 1.243 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001432/1.207, allocations: 438.5 kB / 1.243 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003673/1.211, allocations: 0.8552 MB / 1.244 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008042/1.219, allocations: 2.589 MB / 1.247 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.219, allocations: 0 / 1.247 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/1.219, allocations: 0 / 1.247 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001107/1.219, allocations: 4 kB / 1.247 GB, free: 1.473 MB / 0.9669 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.005084/1.224, allocations: 2.073 MB / 1.249 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.224, allocations: 16.92 kB / 1.249 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/1.227, allocations: 0.5773 MB / 1.249 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/1.23, allocations: 1.412 MB / 1.251 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.23, allocations: 119.7 kB / 1.251 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.23, allocations: 92 kB / 1.251 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/1.233, allocations: 1.358 MB / 1.252 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/1.233, allocations: 3.938 kB / 1.252 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.233, allocations: 36 kB / 1.252 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.234, allocations: 24 kB / 1.252 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.237, allocations: 1.436 MB / 1.254 GB, free: 10.18 MB / 0.9825 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.008002/1.245, allocations: 5.375 MB / 1.259 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/1.248, allocations: 1.071 MB / 1.26 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/1.25, allocations: 0.6047 MB / 1.261 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009089/1.25, allocations: 1.065 MB / 1.262 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/1.252, allocations: 0.6822 MB / 1.262 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 3.646e-06/1.252, allocations: 0 / 1.262 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.005271/1.258, allocations: 1.759 MB / 1.264 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.258, allocations: 55.97 kB / 1.264 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.26, allocations: 1.421 MB / 1.265 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.26, allocations: 41.7 kB / 1.266 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/1.261, allocations: 0.6471 MB / 1.266 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/1.261, allocations: 222.2 kB / 1.266 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/1.262, allocations: 170.5 kB / 1.267 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.262, allocations: 334 kB / 1.267 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.263, allocations: 0.5484 MB / 1.267 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.265, allocations: 0.7536 MB / 1.268 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/1.268, allocations: 1.193 MB / 1.269 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.268, allocations: 0 / 1.269 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00428/1.273, allocations: 1.441 MB / 1.271 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.273, allocations: 14.44 kB / 1.271 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.273, allocations: 4 kB / 1.271 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.273, allocations: 8 kB / 1.271 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.274, allocations: 251.7 kB / 1.271 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.274, allocations: 11.98 kB / 1.271 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.276, allocations: 187.2 kB / 1.271 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/1.276, allocations: 39.97 kB / 1.271 GB, free: 7.594 MB / 0.9981 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.0007159/1.276, allocations: 361.5 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.277, allocations: 159 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.281, allocations: 1.411 MB / 1.273 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.281, allocations: 11.98 kB / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.281, allocations: 0 / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0033/1.284, allocations: 1.263 MB / 1.274 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/1.29, allocations: 2.961 MB / 1.277 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.29, allocations: 0 / 1.277 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.292, allocations: 211.9 kB / 1.277 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/1.292, allocations: 4 kB / 1.277 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/1.292, allocations: 27.97 kB / 1.277 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.292, allocations: 8 kB / 1.277 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.292, allocations: 0 / 1.277 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/1.297, allocations: 2.243 MB / 1.28 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/1.298, allocations: 363.8 kB / 1.28 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.298, allocations: 16 kB / 1.28 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.3, allocations: 111.9 kB / 1.28 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.3, allocations: 60.38 kB / 1.28 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/1.3, allocations: 39.97 kB / 1.28 GB, free: 14.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001782/1.302, allocations: 0.9908 MB / 1.281 GB, free: 13.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.302, allocations: 0 / 1.281 GB, free: 13.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001629/1.303, allocations: 463.1 kB / 1.282 GB, free: 12.72 MB / 1.014 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.001247/1.305, allocations: 454.7 kB / 1.282 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003709/1.308, allocations: 1.281 MB / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.308, allocations: 4 kB / 1.283 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/1.31, allocations: 0.6519 MB / 1.284 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.314, allocations: 0.7616 MB / 1.285 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/1.32, allocations: 2.686 MB / 1.287 GB, free: 6.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.321, allocations: 1.225 MB / 1.288 GB, free: 5.594 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001703/1.323, allocations: 308 kB / 1.289 GB, free: 5.289 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/1.323, allocations: 123.3 kB / 1.289 GB, free: 5.168 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.323, allocations: 0 / 1.289 GB, free: 5.168 MB / 1.014 GB Notification: Performance of Templates: time 0.05994/1.383, allocations: 30.5 MB / 1.319 GB, free: 6.977 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches