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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_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.004045/0.004045, allocations: 99.34 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.00106/0.00106, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.72 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2193, allocations: 140.4 MB / 1.087 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04978/0.2692, allocations: 53.45 MB / 1.14 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.2841, allocations: 11.5 MB / 1.151 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2852, allocations: 63.62 kB / 1.151 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.2867, allocations: 0.7762 MB / 1.152 GB, free: 120 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.291, allocations: 2.278 MB / 1.154 GB, free: 13.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.2938, allocations: 1.378 MB / 1.155 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.2975, allocations: 3.941 MB / 1.159 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.2989, allocations: 1.287 MB / 1.16 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.3011, allocations: 1.44 MB / 1.162 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.3022, allocations: 1.077 MB / 1.163 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.3024, allocations: 140 kB / 1.163 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.3042, allocations: 1.045 MB / 1.164 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.3046, allocations: 438.5 kB / 1.164 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.3054, allocations: 0.8513 MB / 1.165 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.3082, allocations: 2.588 MB / 1.168 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3082, allocations: 0 / 1.168 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3082, allocations: 4 kB / 1.168 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.3082, allocations: 0 / 1.168 GB, free: 15.6 MB / 0.9356 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.003303/0.3115, allocations: 2.078 MB / 1.17 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3116, allocations: 8.031 kB / 1.17 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.3118, allocations: 151.8 kB / 1.17 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.3154, allocations: 0.5773 MB / 1.171 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.3176, allocations: 1.412 MB / 1.172 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3177, allocations: 115.7 kB / 1.172 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.3179, allocations: 103.9 kB / 1.172 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.3208, allocations: 1.346 MB / 1.173 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.3209, allocations: 7.938 kB / 1.173 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.321, allocations: 44 kB / 1.173 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.321, allocations: 27.98 kB / 1.174 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.3249, allocations: 1.421 MB / 1.175 GB, free: 8.156 MB / 0.9356 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.007541/0.3325, allocations: 5.356 MB / 1.18 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.3356, allocations: 1.075 MB / 1.181 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3372, allocations: 0.6075 MB / 1.182 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/0.338, allocations: 1.065 MB / 1.183 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.3399, allocations: 0.6666 MB / 1.183 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.3399, allocations: 0 / 1.183 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.005279/0.3452, allocations: 1.763 MB / 1.185 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3453, allocations: 67.89 kB / 1.185 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.347, allocations: 1.409 MB / 1.187 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.3471, allocations: 41.7 kB / 1.187 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/0.3476, allocations: 0.6549 MB / 1.187 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.3478, allocations: 214.1 kB / 1.188 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.3481, allocations: 166.6 kB / 1.188 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3482, allocations: 334 kB / 1.188 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.3499, allocations: 0.5523 MB / 1.189 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.3518, allocations: 0.7535 MB / 1.189 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.3551, allocations: 1.193 MB / 1.19 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3551, allocations: 4 kB / 1.19 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003853/0.359, allocations: 1.445 MB / 1.192 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.359, allocations: 8 kB / 1.192 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.359, allocations: 4 kB / 1.192 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.359, allocations: 8 kB / 1.192 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3603, allocations: 256 kB / 1.192 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.3604, allocations: 8 kB / 1.192 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3617, allocations: 191.1 kB / 1.192 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.3618, allocations: 43.97 kB / 1.192 GB, free: 5.574 MB / 0.9512 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.0004806/0.3623, allocations: 369.4 kB / 1.193 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.3626, allocations: 158.9 kB / 1.193 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.3665, allocations: 1.415 MB / 1.194 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3665, allocations: 8 kB / 1.194 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3665, allocations: 4 kB / 1.194 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00347/0.37, allocations: 1.259 MB / 1.195 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.3759, allocations: 2.973 MB / 1.198 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3759, allocations: 8.188 kB / 1.198 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.3771, allocations: 207.7 kB / 1.199 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3771, allocations: 4 kB / 1.199 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.3772, allocations: 23.97 kB / 1.199 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3772, allocations: 4 kB / 1.199 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3772, allocations: 7.938 kB / 1.199 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.3829, allocations: 2.231 MB / 1.201 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.3834, allocations: 363.7 kB / 1.201 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.3836, allocations: 16 kB / 1.201 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.385, allocations: 119.9 kB / 1.201 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3851, allocations: 56.38 kB / 1.201 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.3852, allocations: 35.95 kB / 1.201 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001313/0.3865, allocations: 0.9947 MB / 1.202 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3865, allocations: 0 / 1.202 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001129/0.3876, allocations: 471 kB / 1.203 GB, free: 10.68 MB / 0.9669 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.006719/0.3944, allocations: 3.128 MB / 1.206 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003636/0.398, allocations: 1.281 MB / 1.207 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.398, allocations: 0 / 1.207 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.3999, allocations: 0.6519 MB / 1.208 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.4032, allocations: 0.7649 MB / 1.208 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.4245, allocations: 12.35 MB / 1.221 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.4254, allocations: 1.225 MB / 1.222 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001069/0.4265, allocations: 309.2 kB / 1.222 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008344/0.4273, allocations: 0.5656 MB / 1.223 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.4273, allocations: 0 / 1.223 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/0.9171, allocations: 42.55 MB / 1.264 GB, free: 165.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.823/10.74, allocations: 16.94 kB / 1.264 GB, free: 165.2 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches