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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 66.38 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2433, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04856/0.2918, allocations: 53.46 MB / 1.116 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3061, allocations: 11.5 MB / 1.127 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3074, allocations: 63.62 kB / 1.127 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.309, allocations: 0.7567 MB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.3137, allocations: 2.167 MB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3166, allocations: 1.358 MB / 1.131 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00383/0.3204, allocations: 3.932 MB / 1.135 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3219, allocations: 1.287 MB / 1.136 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.3241, allocations: 1.395 MB / 1.138 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.3252, allocations: 1.085 MB / 1.139 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.3254, allocations: 140 kB / 1.139 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3274, allocations: 1.037 MB / 1.14 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.3278, allocations: 438.6 kB / 1.14 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.3285, allocations: 0.8551 MB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.3311, allocations: 2.539 MB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3311, allocations: 0 / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3311, allocations: 0 / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.3312, allocations: 0 / 1.144 GB, free: 12.28 MB / 0.9044 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.003053/0.3342, allocations: 2.027 MB / 1.146 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3343, allocations: 12.03 kB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.3344, allocations: 147.8 kB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.3379, allocations: 0.5648 MB / 1.146 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.3398, allocations: 1.34 MB / 1.148 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3399, allocations: 119.7 kB / 1.148 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.3401, allocations: 92 kB / 1.148 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.3428, allocations: 1.35 MB / 1.149 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3429, allocations: 0 / 1.149 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.343, allocations: 47.98 kB / 1.149 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.343, allocations: 27.98 kB / 1.149 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.3468, allocations: 1.425 MB / 1.151 GB, free: 4.977 MB / 0.9044 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.007072/0.3539, allocations: 5.401 MB / 1.156 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.3568, allocations: 1.067 MB / 1.157 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.3584, allocations: 0.6008 MB / 1.158 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/0.3591, allocations: 1.073 MB / 1.159 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.3609, allocations: 0.6705 MB / 1.159 GB, free: 11.66 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.264e-06/0.3609, allocations: 7.875 kB / 1.159 GB, free: 11.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005118/0.3661, allocations: 1.75 MB / 1.161 GB, free: 9.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3661, allocations: 63.95 kB / 1.161 GB, free: 9.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.3677, allocations: 1.409 MB / 1.162 GB, free: 8.395 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.3678, allocations: 45.7 kB / 1.163 GB, free: 8.344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.3683, allocations: 0.6424 MB / 1.163 GB, free: 7.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.3685, allocations: 209 kB / 1.163 GB, free: 7.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.3688, allocations: 170.4 kB / 1.164 GB, free: 7.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3689, allocations: 334 kB / 1.164 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.3705, allocations: 0.5484 MB / 1.164 GB, free: 6.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.3723, allocations: 0.7574 MB / 1.165 GB, free: 5.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/0.3754, allocations: 1.197 MB / 1.166 GB, free: 4.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3754, allocations: 0 / 1.166 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0037/0.3791, allocations: 1.44 MB / 1.168 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3792, allocations: 4 kB / 1.168 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3792, allocations: 8 kB / 1.168 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3792, allocations: 8 kB / 1.168 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.3805, allocations: 252 kB / 1.168 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.3805, allocations: 11.94 kB / 1.168 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.3818, allocations: 190.9 kB / 1.168 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.3819, allocations: 43.97 kB / 1.168 GB, free: 2.379 MB / 0.92 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.0004829/0.3824, allocations: 353.5 kB / 1.169 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3827, allocations: 150.2 kB / 1.169 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.3865, allocations: 1.403 MB / 1.17 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3865, allocations: 12 kB / 1.17 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3865, allocations: 0 / 1.17 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/0.3898, allocations: 1.263 MB / 1.171 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/0.3953, allocations: 2.969 MB / 1.174 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3953, allocations: 4.031 kB / 1.174 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3965, allocations: 203.7 kB / 1.174 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.3965, allocations: 8 kB / 1.174 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.3966, allocations: 23.97 kB / 1.174 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3966, allocations: 11.94 kB / 1.174 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.3966, allocations: 7.938 kB / 1.174 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.4019, allocations: 2.223 MB / 1.177 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.4024, allocations: 359 kB / 1.177 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.4026, allocations: 12 kB / 1.177 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4039, allocations: 123.9 kB / 1.177 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.404, allocations: 52.44 kB / 1.177 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/0.4041, allocations: 39.95 kB / 1.177 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001203/0.4053, allocations: 0.9908 MB / 1.178 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4054, allocations: 0 / 1.178 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001136/0.4065, allocations: 459.4 kB / 1.179 GB, free: 7.547 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.006354/0.4129, allocations: 3.122 MB / 1.182 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.4166, allocations: 1.336 MB / 1.183 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4166, allocations: 0 / 1.183 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.4184, allocations: 0.648 MB / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.4217, allocations: 0.7672 MB / 1.184 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.4425, allocations: 13.3 MB / 1.197 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.4433, allocations: 1.225 MB / 1.198 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00144/0.4448, allocations: 310 kB / 1.199 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008629/0.4457, allocations: 0.5695 MB / 1.199 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of SimCode: time 1.002e-06/0.4457, allocations: 0 / 1.199 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/0.5187, allocations: 42.26 MB / 1.241 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.846, allocations: 3.984 kB / 1.241 GB, free: 7.879 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv","/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