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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001489/0.001489, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001834/0.001834, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.349/1.349, 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 10.1.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002158, allocations: 68.55 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3456, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05426/0.3999, allocations: 53.46 MB / 1.071 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6155/1.015, allocations: 11.49 MB / 1.082 GB, free: 19.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/1.018, allocations: 65.56 kB / 1.082 GB, free: 19.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003147/1.021, allocations: 0.7595 MB / 1.083 GB, free: 19.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007515/1.029, allocations: 2.167 MB / 1.085 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/1.033, allocations: 1.38 MB / 1.086 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006099/1.039, allocations: 3.931 MB / 1.09 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/1.042, allocations: 1.284 MB / 1.092 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/1.046, allocations: 1.393 MB / 1.093 GB, free: 19.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/1.048, allocations: 1.083 MB / 1.094 GB, free: 19.19 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003394/1.048, allocations: 138.8 kB / 1.094 GB, free: 19.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/1.051, allocations: 1.043 MB / 1.095 GB, free: 19.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/1.052, allocations: 440.6 kB / 1.096 GB, free: 19.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/1.053, allocations: 0.8565 MB / 1.096 GB, free: 18.78 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004394/1.057, allocations: 2.578 MB / 1.099 GB, free: 18.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.058, allocations: 2.062 kB / 1.099 GB, free: 18.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/1.058, allocations: 0 / 1.099 GB, free: 18.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.275e-05/1.058, allocations: 4 kB / 1.099 GB, free: 18.39 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.00428/1.062, allocations: 2.015 MB / 1.101 GB, free: 17.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.062, allocations: 10.22 kB / 1.101 GB, free: 17.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/1.066, allocations: 0.5685 MB / 1.101 GB, free: 16.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/1.069, allocations: 1.401 MB / 1.103 GB, free: 16.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.069, allocations: 120.2 kB / 1.103 GB, free: 16.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/1.069, allocations: 99.88 kB / 1.103 GB, free: 16.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/1.072, allocations: 1.35 MB / 1.104 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/1.072, allocations: 5.062 kB / 1.104 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.073, allocations: 37.22 kB / 1.104 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/1.073, allocations: 32.17 kB / 1.104 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/1.077, allocations: 1.422 MB / 1.106 GB, free: 15.12 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.009186/1.086, allocations: 5.364 MB / 1.111 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/1.089, allocations: 1.073 MB / 1.112 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/1.09, allocations: 0.6038 MB / 1.113 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/1.091, allocations: 1.071 MB / 1.114 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/1.093, allocations: 0.6723 MB / 1.114 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.457e-06/1.093, allocations: 0 / 1.114 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.005663/1.099, allocations: 1.758 MB / 1.116 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.099, allocations: 64.41 kB / 1.116 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/1.101, allocations: 1.409 MB / 1.118 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.102, allocations: 38.83 kB / 1.118 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/1.102, allocations: 0.6531 MB / 1.118 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.103, allocations: 199.8 kB / 1.118 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.103, allocations: 166.3 kB / 1.119 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.103, allocations: 332.9 kB / 1.119 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.105, allocations: 0.5555 MB / 1.119 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.106, allocations: 0.7506 MB / 1.12 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/1.109, allocations: 1.194 MB / 1.121 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.109, allocations: 2.406 kB / 1.121 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003961/1.113, allocations: 1.435 MB / 1.123 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.113, allocations: 7.031 kB / 1.123 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.113, allocations: 8.844 kB / 1.123 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.114, allocations: 9.25 kB / 1.123 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.115, allocations: 252.9 kB / 1.123 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/1.115, allocations: 8.25 kB / 1.123 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.117, allocations: 194.5 kB / 1.123 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.117, allocations: 43.31 kB / 1.123 GB, free: 5.914 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.0007764/1.118, allocations: 355.2 kB / 1.124 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/1.118, allocations: 143.9 kB / 1.124 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/1.122, allocations: 1.419 MB / 1.125 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.122, allocations: 9.562 kB / 1.125 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.122, allocations: 3.984 kB / 1.125 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003044/1.125, allocations: 1.262 MB / 1.126 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/1.131, allocations: 2.962 MB / 1.129 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.131, allocations: 2.438 kB / 1.129 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.132, allocations: 203.3 kB / 1.129 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/1.132, allocations: 8.312 kB / 1.129 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/1.132, allocations: 25.28 kB / 1.129 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.132, allocations: 8.219 kB / 1.129 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.132, allocations: 3.125 kB / 1.129 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/1.137, allocations: 2.229 MB / 1.132 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/1.138, allocations: 351.3 kB / 1.132 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/1.138, allocations: 13.34 kB / 1.132 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.139, allocations: 136.8 kB / 1.132 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.14, allocations: 55.91 kB / 1.132 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/1.14, allocations: 32.94 kB / 1.132 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001394/1.141, allocations: 0.9931 MB / 1.133 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/1.141, allocations: 0 / 1.133 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001587/1.143, allocations: 463.5 kB / 1.134 GB, free: 1.473 MB / 0.8419 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.0009273/1.144, allocations: 451.7 kB / 1.134 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003297/1.147, allocations: 1.285 MB / 1.135 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.147, allocations: 1.281 kB / 1.135 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.149, allocations: 0.6525 MB / 1.136 GB, free: 380 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.152, allocations: 0.7555 MB / 1.137 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.157, allocations: 2.645 MB / 1.139 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/1.158, allocations: 1.23 MB / 1.14 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001417/1.159, allocations: 306 kB / 1.141 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/1.16, allocations: 130 kB / 1.141 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of SimCode: time 1.162e-06/1.16, allocations: 0 / 1.141 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Templates: time 0.05174/1.211, allocations: 30.28 MB / 1.17 GB, free: 5.039 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches