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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007835/0.007835, allocations: 99.45 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.001904/0.001904, allocations: 197 kB / 16.68 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.468/2.468, allocations: 469.4 MB / 0.7422 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.88 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6558, allocations: 159.1 MB / 1.22 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05116/0.707, allocations: 53.46 MB / 1.272 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.7226, allocations: 11.51 MB / 1.283 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.7244, allocations: 59.69 kB / 1.283 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.7265, allocations: 0.7762 MB / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.7321, allocations: 2.267 MB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.7354, allocations: 1.382 MB / 1.288 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004798/0.7402, allocations: 3.951 MB / 1.291 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.7421, allocations: 1.282 MB / 1.293 GB, free: 7.375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.7451, allocations: 1.445 MB / 1.294 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.7468, allocations: 1.081 MB / 1.295 GB, free: 4.848 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.7471, allocations: 140 kB / 1.295 GB, free: 4.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.7495, allocations: 1.041 MB / 1.296 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.75, allocations: 442.5 kB / 1.297 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.7512, allocations: 0.8629 MB / 1.298 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.755, allocations: 2.582 MB / 1.3 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.755, allocations: 0 / 1.3 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.755, allocations: 0 / 1.3 GB, free: 15.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.98e-05/0.7551, allocations: 0 / 1.3 GB, free: 15.78 MB / 1.029 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.003956/0.7591, allocations: 2.082 MB / 1.302 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7591, allocations: 8.625 kB / 1.302 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.7593, allocations: 139.8 kB / 1.302 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.7628, allocations: 0.5774 MB / 1.303 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.7653, allocations: 1.419 MB / 1.304 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.7655, allocations: 115.7 kB / 1.304 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.7657, allocations: 100 kB / 1.304 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.7687, allocations: 1.354 MB / 1.306 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.7687, allocations: 0 / 1.306 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.7688, allocations: 40 kB / 1.306 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.7689, allocations: 28 kB / 1.306 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/0.7727, allocations: 1.429 MB / 1.307 GB, free: 8.332 MB / 1.029 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.008016/0.7807, allocations: 5.36 MB / 1.312 GB, free: 2.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.7837, allocations: 1.075 MB / 1.313 GB, free: 1.637 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.7853, allocations: 0.5958 MB / 1.314 GB, free: 1.035 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007739/0.7861, allocations: 1.073 MB / 1.315 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/0.7879, allocations: 0.6822 MB / 1.316 GB, free: 15.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/0.7879, allocations: 0 / 1.316 GB, free: 15.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005129/0.793, allocations: 1.755 MB / 1.317 GB, free: 13.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.7931, allocations: 59.97 kB / 1.318 GB, free: 13.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.795, allocations: 1.417 MB / 1.319 GB, free: 11.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.7951, allocations: 37.7 kB / 1.319 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.7957, allocations: 0.655 MB / 1.32 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.7959, allocations: 214.2 kB / 1.32 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.7962, allocations: 166.5 kB / 1.32 GB, free: 10.69 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7964, allocations: 334 kB / 1.32 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.798, allocations: 0.5523 MB / 1.321 GB, free: 9.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.7997, allocations: 0.7574 MB / 1.322 GB, free: 8.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.8029, allocations: 1.193 MB / 1.323 GB, free: 7.715 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.8029, allocations: 4 kB / 1.323 GB, free: 7.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003911/0.8069, allocations: 1.445 MB / 1.324 GB, free: 6.258 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8069, allocations: 8 kB / 1.324 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.8069, allocations: 4 kB / 1.324 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8069, allocations: 8 kB / 1.324 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.8082, allocations: 248 kB / 1.324 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.8082, allocations: 11.98 kB / 1.324 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.8097, allocations: 195.1 kB / 1.325 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.8098, allocations: 39.97 kB / 1.325 GB, free: 5.754 MB / 1.045 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.0005724/0.8104, allocations: 357.6 kB / 1.325 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.8107, allocations: 158.9 kB / 1.325 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.8147, allocations: 1.407 MB / 1.326 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.8147, allocations: 11.98 kB / 1.327 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.8147, allocations: 0 / 1.327 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003286/0.818, allocations: 1.267 MB / 1.328 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.824, allocations: 2.965 MB / 1.331 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.8241, allocations: 4.094 kB / 1.331 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8252, allocations: 207.9 kB / 1.331 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.8253, allocations: 8 kB / 1.331 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.8253, allocations: 27.97 kB / 1.331 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.8253, allocations: 7.938 kB / 1.331 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8254, allocations: 7.938 kB / 1.331 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.8308, allocations: 2.231 MB / 1.333 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.8315, allocations: 367.7 kB / 1.333 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.8318, allocations: 12 kB / 1.333 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.8331, allocations: 115.9 kB / 1.334 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8333, allocations: 56.44 kB / 1.334 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.8334, allocations: 35.97 kB / 1.334 GB, free: 12.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001424/0.8348, allocations: 0.9947 MB / 1.335 GB, free: 11.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8348, allocations: 0 / 1.335 GB, free: 11.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001332/0.8361, allocations: 467 kB / 1.335 GB, free: 10.87 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.006574/0.8427, allocations: 3.133 MB / 1.338 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003578/0.8463, allocations: 1.281 MB / 1.339 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8463, allocations: 0 / 1.339 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.8481, allocations: 0.6558 MB / 1.34 GB, free: 5.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/0.8517, allocations: 0.7631 MB / 1.341 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/0.8737, allocations: 12.35 MB / 1.353 GB, free: 8.363 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.8745, allocations: 1.229 MB / 1.354 GB, free: 7.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001231/0.8758, allocations: 310.4 kB / 1.354 GB, free: 6.801 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/0.8766, allocations: 0.5617 MB / 1.355 GB, free: 6.238 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.8766, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07072/0.9474, allocations: 42.56 MB / 1.396 GB, free: 12.17 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.29, allocations: 10.92 kB / 1.396 GB, free: 12.16 MB / 1.123 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 50 --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