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.006832/0.006832, allocations: 103 kB / 15.73 MB, free: 6.051 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.001775/0.001775, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.355 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.289/2.289, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.16 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2202, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05215/0.2724, allocations: 53.46 MB / 1.14 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.2879, allocations: 11.49 MB / 1.151 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.2896, allocations: 67.56 kB / 1.151 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.2917, allocations: 0.7529 MB / 1.152 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.2968, allocations: 2.168 MB / 1.154 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.3, allocations: 1.377 MB / 1.155 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004586/0.3046, allocations: 3.941 MB / 1.159 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.3065, allocations: 1.271 MB / 1.16 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.3093, allocations: 1.403 MB / 1.162 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.3104, allocations: 1.081 MB / 1.163 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.3106, allocations: 140 kB / 1.163 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.3127, allocations: 1.049 MB / 1.164 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.3131, allocations: 442.5 kB / 1.164 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/0.3139, allocations: 0.8512 MB / 1.165 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.3167, allocations: 2.579 MB / 1.168 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3167, allocations: 0 / 1.168 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3167, allocations: 0 / 1.168 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.3167, allocations: 0 / 1.168 GB, free: 15.64 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.32, allocations: 2.018 MB / 1.17 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3201, allocations: 8.031 kB / 1.17 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.3203, allocations: 155.8 kB / 1.17 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.3239, allocations: 0.5648 MB / 1.17 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.3261, allocations: 1.406 MB / 1.172 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3262, allocations: 123.6 kB / 1.172 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3264, allocations: 92 kB / 1.172 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.3293, allocations: 1.35 MB / 1.173 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.3294, allocations: 3.984 kB / 1.173 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3295, allocations: 36 kB / 1.173 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.3295, allocations: 31.94 kB / 1.173 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.3334, allocations: 1.421 MB / 1.175 GB, free: 8.273 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.007471/0.3409, allocations: 5.351 MB / 1.18 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.344, allocations: 1.066 MB / 1.181 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.3457, allocations: 0.6047 MB / 1.181 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.3465, allocations: 1.065 MB / 1.183 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.3483, allocations: 0.6822 MB / 1.183 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 2.775e-06/0.3483, allocations: 0 / 1.183 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.00535/0.3537, allocations: 1.75 MB / 1.185 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3537, allocations: 63.97 kB / 1.185 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3554, allocations: 1.409 MB / 1.186 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.3555, allocations: 45.64 kB / 1.186 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005287/0.3561, allocations: 0.6424 MB / 1.187 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3563, allocations: 205 kB / 1.187 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.3566, allocations: 174.4 kB / 1.187 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3567, allocations: 334 kB / 1.188 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.3584, allocations: 0.5523 MB / 1.188 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.3603, allocations: 0.7536 MB / 1.189 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.3636, allocations: 1.197 MB / 1.19 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3636, allocations: 0 / 1.19 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003937/0.3676, allocations: 1.436 MB / 1.192 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3676, allocations: 4 kB / 1.192 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3676, allocations: 15.98 kB / 1.192 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3676, allocations: 8 kB / 1.192 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.369, allocations: 255.7 kB / 1.192 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.369, allocations: 11.98 kB / 1.192 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3704, allocations: 186.8 kB / 1.192 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.3705, allocations: 43.97 kB / 1.192 GB, free: 5.719 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.000498/0.371, allocations: 361.5 kB / 1.192 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.3712, allocations: 150.2 kB / 1.193 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.3752, allocations: 1.407 MB / 1.194 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3752, allocations: 7.938 kB / 1.194 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.3752, allocations: 0 / 1.194 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003481/0.3787, allocations: 1.267 MB / 1.195 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.3846, allocations: 2.976 MB / 1.198 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3847, allocations: 4 kB / 1.198 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.3859, allocations: 204 kB / 1.198 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.3859, allocations: 8 kB / 1.198 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.386, allocations: 19.98 kB / 1.198 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.386, allocations: 15.92 kB / 1.198 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.386, allocations: 7.938 kB / 1.198 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.3917, allocations: 2.223 MB / 1.2 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.3922, allocations: 355 kB / 1.201 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.3924, allocations: 15.98 kB / 1.201 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.3938, allocations: 115.9 kB / 1.201 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3939, allocations: 56.52 kB / 1.201 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/0.394, allocations: 39.91 kB / 1.201 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001309/0.3953, allocations: 0.9908 MB / 1.202 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3953, allocations: 0 / 1.202 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001179/0.3965, allocations: 463.4 kB / 1.202 GB, free: 10.86 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.006704/0.4032, allocations: 3.117 MB / 1.205 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003641/0.4069, allocations: 1.285 MB / 1.207 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4069, allocations: 0 / 1.207 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.4087, allocations: 0.6519 MB / 1.207 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.412, allocations: 0.7681 MB / 1.208 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/0.4336, allocations: 12.29 MB / 1.22 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.4344, allocations: 1.229 MB / 1.221 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001087/0.4355, allocations: 306.9 kB / 1.222 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/0.4364, allocations: 0.5578 MB / 1.222 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.4364, allocations: 4 kB / 1.222 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4971/0.9335, allocations: 42.56 MB / 1.264 GB, free: 165 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.95, allocations: 5.156 kB / 1.264 GB, free: 165 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