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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007519/0.007519, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.002086/0.002086, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 482.4 MB / 0.7548 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.91 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.5451/0.8253, allocations: 53.55 MB / 1.294 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.8426, allocations: 11.5 MB / 1.305 GB, free: 5.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.8445, allocations: 62.88 kB / 1.305 GB, free: 5.246 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.8466, allocations: 0.7522 MB / 1.306 GB, free: 4.785 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.8523, allocations: 2.168 MB / 1.308 GB, free: 3.492 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.8558, allocations: 1.374 MB / 1.309 GB, free: 2.742 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004922/0.8607, allocations: 3.936 MB / 1.313 GB, free: 0.832 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.8624, allocations: 1.284 MB / 1.314 GB, free: 216 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.8656, allocations: 1.597 MB / 1.316 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.8669, allocations: 1.064 MB / 1.317 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.8671, allocations: 139.2 kB / 1.317 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.8694, allocations: 1.039 MB / 1.318 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.8699, allocations: 436.2 kB / 1.318 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009179/0.8708, allocations: 0.8501 MB / 1.319 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.8742, allocations: 2.598 MB / 1.322 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8742, allocations: 1.312 kB / 1.322 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8742, allocations: 4 kB / 1.322 GB, free: 12.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.8742, allocations: 3.938 kB / 1.322 GB, free: 12.75 MB / 1.045 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.003654/0.8779, allocations: 2.079 MB / 1.324 GB, free: 11.38 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.8779, allocations: 9.688 kB / 1.324 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.8782, allocations: 141.4 kB / 1.324 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.8818, allocations: 0.5776 MB / 1.325 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.8841, allocations: 1.41 MB / 1.326 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.8843, allocations: 124.8 kB / 1.326 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.8844, allocations: 96.14 kB / 1.326 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.8876, allocations: 1.353 MB / 1.328 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.8876, allocations: 5.797 kB / 1.328 GB, free: 9.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.8878, allocations: 41.03 kB / 1.328 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.8878, allocations: 24.36 kB / 1.328 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/0.8918, allocations: 1.429 MB / 1.329 GB, free: 9.242 MB / 1.045 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.008275/0.9001, allocations: 5.371 MB / 1.334 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.9033, allocations: 1.07 MB / 1.335 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.905, allocations: 0.5988 MB / 1.336 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.9059, allocations: 1.076 MB / 1.337 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.9079, allocations: 0.6711 MB / 1.338 GB, free: 3.863 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.9079, allocations: 0 / 1.338 GB, free: 3.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005447/0.9133, allocations: 1.762 MB / 1.339 GB, free: 3.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.9134, allocations: 66.22 kB / 1.339 GB, free: 3.246 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.9152, allocations: 1.412 MB / 1.341 GB, free: 2.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.9153, allocations: 46.86 kB / 1.341 GB, free: 2.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.9159, allocations: 0.6536 MB / 1.341 GB, free: 2.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.9162, allocations: 218.9 kB / 1.342 GB, free: 1.961 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.9165, allocations: 162.4 kB / 1.342 GB, free: 1.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9167, allocations: 334.7 kB / 1.342 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.9183, allocations: 0.5503 MB / 1.343 GB, free: 1.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.9202, allocations: 0.7577 MB / 1.343 GB, free: 1.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/0.9236, allocations: 1.19 MB / 1.345 GB, free: 432 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9237, allocations: 2.75 kB / 1.345 GB, free: 432 kB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003997/0.9277, allocations: 1.442 MB / 1.346 GB, free: 15.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.9277, allocations: 10.81 kB / 1.346 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9277, allocations: 4.938 kB / 1.346 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.9277, allocations: 8 kB / 1.346 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.929, allocations: 255.3 kB / 1.346 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.9291, allocations: 13.92 kB / 1.346 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.9305, allocations: 192.1 kB / 1.346 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/0.9306, allocations: 43.03 kB / 1.346 GB, free: 15.5 MB / 1.061 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.0005286/0.9312, allocations: 348.8 kB / 1.347 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.9314, allocations: 155.6 kB / 1.347 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/0.9355, allocations: 1.419 MB / 1.348 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.9355, allocations: 10.5 kB / 1.348 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9355, allocations: 4 kB / 1.348 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003572/0.9391, allocations: 1.259 MB / 1.35 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/0.9452, allocations: 2.955 MB / 1.352 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9453, allocations: 2.625 kB / 1.352 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.9465, allocations: 211.9 kB / 1.353 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9465, allocations: 9.125 kB / 1.353 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.9466, allocations: 24.81 kB / 1.353 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.9466, allocations: 4.188 kB / 1.353 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9466, allocations: 2.25 kB / 1.353 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/0.9524, allocations: 2.238 MB / 1.355 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.953, allocations: 366.5 kB / 1.355 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.9532, allocations: 12.34 kB / 1.355 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.9545, allocations: 122.2 kB / 1.355 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.9546, allocations: 59.78 kB / 1.355 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.9547, allocations: 37.08 kB / 1.355 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001354/0.9561, allocations: 0.993 MB / 1.356 GB, free: 9.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9561, allocations: 0 / 1.356 GB, free: 9.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001254/0.9574, allocations: 467.5 kB / 1.357 GB, free: 9.402 MB / 1.061 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.007005/0.9644, allocations: 3.125 MB / 1.36 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.9681, allocations: 1.281 MB / 1.361 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9681, allocations: 0.9688 kB / 1.361 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.97, allocations: 0.6539 MB / 1.362 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.9736, allocations: 0.7733 MB / 1.363 GB, free: 6.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/0.9966, allocations: 12.34 MB / 1.375 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.9976, allocations: 1.225 MB / 1.376 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001201/0.9988, allocations: 309.8 kB / 1.376 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009335/0.9997, allocations: 0.5578 MB / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.9997, allocations: 0 / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/1.08, allocations: 42.57 MB / 1.418 GB, free: 2.305 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.72, allocations: 20.25 kB / 1.418 GB, free: 2.289 MB / 1.107 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 400 --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