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.001313/0.001313, allocations: 108 kB / 15.61 MB, free: 152 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.001282/0.001282, allocations: 195 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.292/2.292, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5039, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04688/0.5508, allocations: 53.46 MB / 1.002 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.5658, allocations: 11.49 MB / 1.013 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.5675, allocations: 63.62 kB / 1.013 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.5696, allocations: 0.7568 MB / 1.014 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.5745, allocations: 2.161 MB / 1.016 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.5775, allocations: 1.37 MB / 1.017 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.5816, allocations: 3.922 MB / 1.021 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.5833, allocations: 1.275 MB / 1.022 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.5859, allocations: 1.396 MB / 1.024 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5873, allocations: 1.085 MB / 1.025 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.5876, allocations: 140 kB / 1.025 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.5896, allocations: 1.041 MB / 1.026 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.5901, allocations: 450.5 kB / 1.026 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/0.591, allocations: 0.8474 MB / 1.027 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.5939, allocations: 2.543 MB / 1.03 GB, free: 15.62 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5939, allocations: 4 kB / 1.03 GB, free: 15.61 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5939, allocations: 0 / 1.03 GB, free: 15.61 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.402e-05/0.594, allocations: 0 / 1.03 GB, free: 15.61 MB / 0.795 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.003363/0.5973, allocations: 2.018 MB / 1.032 GB, free: 13.54 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5974, allocations: 12.03 kB / 1.032 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.5975, allocations: 151.8 kB / 1.032 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.6011, allocations: 0.5686 MB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.603, allocations: 1.332 MB / 1.034 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.6031, allocations: 111.7 kB / 1.034 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6033, allocations: 92 kB / 1.034 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.6061, allocations: 1.358 MB / 1.035 GB, free: 9.824 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.6062, allocations: 4 kB / 1.035 GB, free: 9.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6063, allocations: 39.94 kB / 1.035 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.6063, allocations: 27.98 kB / 1.035 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.6101, allocations: 1.429 MB / 1.037 GB, free: 8.32 MB / 0.795 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.007138/0.6173, allocations: 5.409 MB / 1.042 GB, free: 2.664 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.6203, allocations: 1.065 MB / 1.043 GB, free: 1.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.6219, allocations: 0.5958 MB / 1.044 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.6226, allocations: 1.073 MB / 1.045 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.6244, allocations: 0.6744 MB / 1.045 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.465e-06/0.6244, allocations: 0 / 1.045 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.005134/0.6296, allocations: 1.754 MB / 1.047 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6296, allocations: 63.91 kB / 1.047 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.6313, allocations: 1.409 MB / 1.049 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/0.6314, allocations: 45.7 kB / 1.049 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/0.6319, allocations: 0.6501 MB / 1.049 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.6321, allocations: 197.1 kB / 1.049 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.6324, allocations: 166.5 kB / 1.05 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6325, allocations: 338 kB / 1.05 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.6341, allocations: 0.5484 MB / 1.05 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.6359, allocations: 0.7574 MB / 1.051 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.6391, allocations: 1.185 MB / 1.052 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6391, allocations: 4 kB / 1.052 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003814/0.6429, allocations: 1.436 MB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.643, allocations: 10.47 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.643, allocations: 8 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.643, allocations: 8 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.6443, allocations: 255.6 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.6443, allocations: 11.94 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6458, allocations: 186.8 kB / 1.054 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.6458, allocations: 43.97 kB / 1.054 GB, free: 5.73 MB / 0.8106 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.0004817/0.6463, allocations: 355.5 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.6466, allocations: 150.2 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.6505, allocations: 1.415 MB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.6505, allocations: 8 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6505, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00338/0.6539, allocations: 1.259 MB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/0.6597, allocations: 2.961 MB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6597, allocations: 0 / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.6609, allocations: 215.9 kB / 1.06 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6609, allocations: 4.094 kB / 1.06 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.661, allocations: 31.91 kB / 1.06 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.661, allocations: 4 kB / 1.06 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.661, allocations: 11.92 kB / 1.06 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005539/0.6666, allocations: 2.223 MB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.6671, allocations: 355 kB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.6673, allocations: 12 kB / 1.063 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6687, allocations: 115.9 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6688, allocations: 60.38 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.6689, allocations: 39.95 kB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001266/0.6702, allocations: 0.9908 MB / 1.064 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6702, allocations: 4 kB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001165/0.6713, allocations: 459.3 kB / 1.065 GB, free: 10.89 MB / 0.8262 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.006508/0.6779, allocations: 3.127 MB / 1.068 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00384/0.6817, allocations: 1.336 MB / 1.069 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6817, allocations: 0 / 1.069 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.6835, allocations: 0.6519 MB / 1.07 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.6868, allocations: 0.7704 MB / 1.07 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.7079, allocations: 13.29 MB / 1.083 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.7087, allocations: 1.225 MB / 1.085 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001263/0.71, allocations: 305.3 kB / 1.085 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/0.7108, allocations: 0.5734 MB / 1.085 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.7108, allocations: 0 / 1.085 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06443/0.7752, allocations: 42.25 MB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.791, allocations: 19.67 kB / 1.127 GB, free: 11.23 MB / 0.8887 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