Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_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.00515/0.00515, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001533/0.001533, allocations: 194.9 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 60.12 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2725, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.5419/0.8144, allocations: 53.46 MB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.8274, allocations: 11.5 MB / 1.284 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.8293, allocations: 64.31 kB / 1.284 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.831, allocations: 0.7514 MB / 1.284 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.8362, allocations: 2.167 MB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.8399, allocations: 1.381 MB / 1.288 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.8455, allocations: 3.927 MB / 1.292 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.8474, allocations: 1.284 MB / 1.293 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.8504, allocations: 1.411 MB / 1.294 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.8518, allocations: 1.076 MB / 1.295 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.852, allocations: 138.5 kB / 1.296 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.8542, allocations: 1.05 MB / 1.297 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.8547, allocations: 433 kB / 1.297 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009367/0.8557, allocations: 0.8572 MB / 1.298 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.859, allocations: 2.589 MB / 1.3 GB, free: 9.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.859, allocations: 1.406 kB / 1.3 GB, free: 9.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.859, allocations: 0 / 1.3 GB, free: 9.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.859, allocations: 4 kB / 1.3 GB, free: 9.195 MB / 1.014 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.003636/0.8627, allocations: 2.075 MB / 1.302 GB, free: 7.824 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.8627, allocations: 13.94 kB / 1.302 GB, free: 7.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.8629, allocations: 145 kB / 1.303 GB, free: 7.723 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.8665, allocations: 0.5768 MB / 1.303 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.8689, allocations: 1.415 MB / 1.304 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.869, allocations: 123.2 kB / 1.305 GB, free: 6.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.8692, allocations: 95.78 kB / 1.305 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.8724, allocations: 1.35 MB / 1.306 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.8724, allocations: 1.5 kB / 1.306 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.8726, allocations: 41.55 kB / 1.306 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.8726, allocations: 27.97 kB / 1.306 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.8767, allocations: 1.422 MB / 1.307 GB, free: 5.688 MB / 1.014 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.008317/0.885, allocations: 5.369 MB / 1.313 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.8882, allocations: 1.065 MB / 1.314 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.8899, allocations: 0.6029 MB / 1.314 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009458/0.8909, allocations: 1.071 MB / 1.315 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.8928, allocations: 0.6787 MB / 1.316 GB, free: 316 kB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.414e-06/0.8928, allocations: 0 / 1.316 GB, free: 316 kB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.005542/0.8984, allocations: 1.761 MB / 1.318 GB, free: 15.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.8984, allocations: 58.86 kB / 1.318 GB, free: 15.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.9003, allocations: 1.409 MB / 1.319 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.263e-05/0.9004, allocations: 42.86 kB / 1.319 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/0.9011, allocations: 0.6539 MB / 1.32 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.9013, allocations: 218.3 kB / 1.32 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.9017, allocations: 163.9 kB / 1.32 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9019, allocations: 337.5 kB / 1.321 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.9036, allocations: 0.5543 MB / 1.321 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.9056, allocations: 0.7491 MB / 1.322 GB, free: 13.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.9091, allocations: 1.192 MB / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9091, allocations: 1.125 kB / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004066/0.9131, allocations: 1.448 MB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.9132, allocations: 12.03 kB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9132, allocations: 6.297 kB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9132, allocations: 11.03 kB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.9145, allocations: 248.8 kB / 1.325 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.9145, allocations: 9.641 kB / 1.325 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.916, allocations: 197.2 kB / 1.325 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.9161, allocations: 38.95 kB / 1.325 GB, free: 12.36 MB / 1.029 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.0005344/0.9167, allocations: 355.3 kB / 1.325 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.9169, allocations: 156.9 kB / 1.325 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.921, allocations: 1.416 MB / 1.327 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.921, allocations: 5.844 kB / 1.327 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9211, allocations: 5.094 kB / 1.327 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003522/0.9246, allocations: 1.266 MB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/0.9306, allocations: 2.962 MB / 1.331 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9306, allocations: 2.219 kB / 1.331 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.9318, allocations: 206 kB / 1.331 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.9318, allocations: 4.469 kB / 1.331 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.9319, allocations: 28.81 kB / 1.331 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.9319, allocations: 5.344 kB / 1.331 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9319, allocations: 6.094 kB / 1.331 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/0.9378, allocations: 2.231 MB / 1.333 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.9384, allocations: 369.5 kB / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.9386, allocations: 14.03 kB / 1.334 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.9399, allocations: 117.8 kB / 1.334 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9401, allocations: 51.03 kB / 1.334 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/0.9402, allocations: 37.52 kB / 1.334 GB, free: 8.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001368/0.9415, allocations: 0.9971 MB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9415, allocations: 0 / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001245/0.9428, allocations: 466.7 kB / 1.335 GB, free: 7.434 MB / 1.029 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.007058/0.9499, allocations: 3.141 MB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.9536, allocations: 1.286 MB / 1.34 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9536, allocations: 0 / 1.34 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.9556, allocations: 0.6537 MB / 1.34 GB, free: 4.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.959, allocations: 0.7736 MB / 1.341 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.9815, allocations: 12.35 MB / 1.353 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.9824, allocations: 1.22 MB / 1.354 GB, free: 12.26 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9835, allocations: 311.1 kB / 1.355 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/0.9845, allocations: 0.5667 MB / 1.355 GB, free: 11.63 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.9845, allocations: 0 / 1.355 GB, free: 11.63 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07994/1.064, allocations: 42.56 MB / 1.397 GB, free: 3.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.71, allocations: 10.22 kB / 1.397 GB, free: 3.285 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv --start-time 0 --stop-time 14400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches