Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_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.007311/0.007311, allocations: 101 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.002086/0.002086, allocations: 194.4 kB / 16.67 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.83 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.6716, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05853/0.7302, allocations: 53.46 MB / 1.218 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.747, allocations: 11.51 MB / 1.23 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.7483, allocations: 63.62 kB / 1.23 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.7501, allocations: 0.7529 MB / 1.23 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.7547, allocations: 2.17 MB / 1.233 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.7578, allocations: 1.374 MB / 1.234 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.7624, allocations: 3.928 MB / 1.238 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.7641, allocations: 1.286 MB / 1.239 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.7666, allocations: 1.4 MB / 1.24 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.768, allocations: 1.085 MB / 1.241 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.7682, allocations: 136 kB / 1.242 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.7703, allocations: 1.045 MB / 1.243 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.7708, allocations: 446.5 kB / 1.243 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008915/0.7717, allocations: 0.8551 MB / 1.244 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.775, allocations: 2.589 MB / 1.246 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.775, allocations: 0 / 1.246 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.775, allocations: 3.938 kB / 1.246 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.7751, allocations: 0 / 1.246 GB, free: 1.383 MB / 0.9669 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.003589/0.7787, allocations: 2.073 MB / 1.248 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7787, allocations: 12.86 kB / 1.248 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.7789, allocations: 143.8 kB / 1.248 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/0.7824, allocations: 0.5851 MB / 1.249 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.7847, allocations: 1.412 MB / 1.25 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.7849, allocations: 119.7 kB / 1.251 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.7851, allocations: 88 kB / 1.251 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.7882, allocations: 1.362 MB / 1.252 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.7883, allocations: 0 / 1.252 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7884, allocations: 36 kB / 1.252 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.7884, allocations: 24 kB / 1.252 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.7925, allocations: 1.432 MB / 1.253 GB, free: 9.949 MB / 0.9825 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.008206/0.8007, allocations: 5.375 MB / 1.259 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.8039, allocations: 1.071 MB / 1.26 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.8056, allocations: 0.5975 MB / 1.26 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/0.8066, allocations: 1.069 MB / 1.261 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/0.8085, allocations: 0.6744 MB / 1.262 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 2.314e-06/0.8085, allocations: 4 kB / 1.262 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.005413/0.8139, allocations: 1.763 MB / 1.264 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.814, allocations: 55.97 kB / 1.264 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.8159, allocations: 1.417 MB / 1.265 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.816, allocations: 41.7 kB / 1.265 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/0.8166, allocations: 0.651 MB / 1.266 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8169, allocations: 218.2 kB / 1.266 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.8172, allocations: 166.5 kB / 1.266 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8174, allocations: 341.9 kB / 1.267 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.8191, allocations: 0.5523 MB / 1.267 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.821, allocations: 0.7574 MB / 1.268 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.8245, allocations: 1.182 MB / 1.269 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8245, allocations: 4 kB / 1.269 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004069/0.8286, allocations: 1.445 MB / 1.27 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8286, allocations: 4.438 kB / 1.27 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8286, allocations: 12 kB / 1.27 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.8286, allocations: 8 kB / 1.27 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8299, allocations: 247.6 kB / 1.271 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.83, allocations: 19.92 kB / 1.271 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8314, allocations: 187.1 kB / 1.271 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.8315, allocations: 43.97 kB / 1.271 GB, free: 7.352 MB / 0.9981 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.0005733/0.8321, allocations: 349.7 kB / 1.271 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.8323, allocations: 158.9 kB / 1.271 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.8364, allocations: 1.426 MB / 1.273 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.8365, allocations: 8 kB / 1.273 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8365, allocations: 0 / 1.273 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003498/0.84, allocations: 1.259 MB / 1.274 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/0.8461, allocations: 2.961 MB / 1.277 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8461, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.8473, allocations: 211.9 kB / 1.277 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.8473, allocations: 8 kB / 1.277 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.8474, allocations: 23.97 kB / 1.277 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8474, allocations: 4 kB / 1.277 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8474, allocations: 3.938 kB / 1.277 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.8533, allocations: 2.239 MB / 1.279 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.8539, allocations: 367.8 kB / 1.28 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.8541, allocations: 12 kB / 1.28 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.8554, allocations: 115.9 kB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.8555, allocations: 52.19 kB / 1.28 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.8556, allocations: 43.95 kB / 1.28 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001407/0.857, allocations: 0.9908 MB / 1.281 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.857, allocations: 0 / 1.281 GB, free: 12.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001213/0.8582, allocations: 463.1 kB / 1.281 GB, free: 12.49 MB / 1.014 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.006929/0.8652, allocations: 3.127 MB / 1.284 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.8689, allocations: 1.282 MB / 1.286 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8689, allocations: 0 / 1.286 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.8708, allocations: 0.6516 MB / 1.286 GB, free: 7.387 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.8741, allocations: 0.7593 MB / 1.287 GB, free: 6.641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.8963, allocations: 12.37 MB / 1.299 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.8973, allocations: 1.217 MB / 1.3 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001092/0.8984, allocations: 310.5 kB / 1.301 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008849/0.8993, allocations: 0.5656 MB / 1.301 GB, free: 7.852 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.8993, allocations: 0 / 1.301 GB, free: 7.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/0.9789, allocations: 42.57 MB / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.71, allocations: 2.406 kB / 1.343 GB, free: 13.68 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches