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.001699/0.001699, allocations: 108.6 kB / 15.73 MB, free: 76 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.001971/0.001971, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.567/2.567, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.05 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2362, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05082/0.287, allocations: 53.46 MB / 1.218 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.3028, allocations: 11.51 MB / 1.23 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.3047, allocations: 59.69 kB / 1.23 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.3068, allocations: 0.784 MB / 1.23 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005562/0.3124, allocations: 2.271 MB / 1.233 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.3158, allocations: 1.384 MB / 1.234 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004644/0.3204, allocations: 3.934 MB / 1.238 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.3224, allocations: 1.279 MB / 1.239 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.3253, allocations: 1.445 MB / 1.24 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3269, allocations: 1.073 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.3272, allocations: 140 kB / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.3296, allocations: 1.049 MB / 1.243 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.3301, allocations: 434.5 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3312, allocations: 0.859 MB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.3347, allocations: 2.585 MB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3348, allocations: 4 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3348, allocations: 0 / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.3348, allocations: 0 / 1.246 GB, free: 4.789 MB / 0.9981 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.003389/0.3382, allocations: 2.075 MB / 1.248 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3382, allocations: 12.03 kB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.3384, allocations: 143.8 kB / 1.249 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.342, allocations: 0.5773 MB / 1.249 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.3442, allocations: 1.416 MB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3443, allocations: 115.7 kB / 1.251 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3445, allocations: 95.98 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4655/0.81, allocations: 1.349 MB / 1.252 GB, free: 82.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.8101, allocations: 2.906 kB / 1.252 GB, free: 82.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.8102, allocations: 39.72 kB / 1.252 GB, free: 82.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.8103, allocations: 26.94 kB / 1.252 GB, free: 82.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.8144, allocations: 1.426 MB / 1.254 GB, free: 82.74 MB / 0.9981 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.00821/0.8226, allocations: 5.358 MB / 1.259 GB, free: 79.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.8259, allocations: 1.076 MB / 1.26 GB, free: 79.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.8276, allocations: 0.6008 MB / 1.26 GB, free: 79.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.8282, allocations: 1.072 MB / 1.261 GB, free: 77.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/0.8302, allocations: 0.6691 MB / 1.262 GB, free: 77.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/0.8302, allocations: 0 / 1.262 GB, free: 77.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.005847/0.8361, allocations: 1.762 MB / 1.264 GB, free: 77.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8361, allocations: 62.52 kB / 1.264 GB, free: 77.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.8384, allocations: 1.418 MB / 1.265 GB, free: 76.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.8385, allocations: 43.5 kB / 1.265 GB, free: 76.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.839, allocations: 0.6461 MB / 1.266 GB, free: 76.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.8392, allocations: 220.3 kB / 1.266 GB, free: 75.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.8395, allocations: 170.7 kB / 1.266 GB, free: 75.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.8395, allocations: 335.5 kB / 1.267 GB, free: 75.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.8412, allocations: 0.5507 MB / 1.267 GB, free: 75.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.843, allocations: 0.7613 MB / 1.268 GB, free: 74.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.8463, allocations: 1.19 MB / 1.269 GB, free: 74.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.8463, allocations: 5.125 kB / 1.269 GB, free: 74.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004064/0.8504, allocations: 1.44 MB / 1.271 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8504, allocations: 8.188 kB / 1.271 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8504, allocations: 5.75 kB / 1.271 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.8505, allocations: 12.72 kB / 1.271 GB, free: 73.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.8518, allocations: 251.1 kB / 1.271 GB, free: 73.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.8518, allocations: 16.25 kB / 1.271 GB, free: 73.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8533, allocations: 194.2 kB / 1.271 GB, free: 73.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8534, allocations: 43.05 kB / 1.271 GB, free: 73.9 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.0005692/0.854, allocations: 349.1 kB / 1.271 GB, free: 73.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.8543, allocations: 157.3 kB / 1.272 GB, free: 73.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.8582, allocations: 1.415 MB / 1.273 GB, free: 73.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.8583, allocations: 8.141 kB / 1.273 GB, free: 73.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8583, allocations: 1 kB / 1.273 GB, free: 73.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/0.8617, allocations: 1.267 MB / 1.274 GB, free: 72.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006072/0.8678, allocations: 2.967 MB / 1.277 GB, free: 71.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.8678, allocations: 1.375 kB / 1.277 GB, free: 71.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8691, allocations: 210.1 kB / 1.277 GB, free: 71.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.8691, allocations: 5.609 kB / 1.277 GB, free: 71.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.8692, allocations: 28.75 kB / 1.277 GB, free: 71.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.8692, allocations: 4.422 kB / 1.277 GB, free: 71.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.8692, allocations: 6.438 kB / 1.277 GB, free: 71.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.8747, allocations: 2.234 MB / 1.279 GB, free: 70.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/0.8754, allocations: 365.5 kB / 1.28 GB, free: 70.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.8756, allocations: 14.66 kB / 1.28 GB, free: 70.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.877, allocations: 115.3 kB / 1.28 GB, free: 70.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.8771, allocations: 56.81 kB / 1.28 GB, free: 70.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.8772, allocations: 39.17 kB / 1.28 GB, free: 70.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001354/0.8785, allocations: 0.9966 MB / 1.281 GB, free: 69.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.8786, allocations: 0 / 1.281 GB, free: 69.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001243/0.8798, allocations: 465 kB / 1.281 GB, free: 69.71 MB / 0.9981 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.006572/0.8864, allocations: 3.116 MB / 1.284 GB, free: 68.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003644/0.89, allocations: 1.276 MB / 1.286 GB, free: 67.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8901, allocations: 5.438 kB / 1.286 GB, free: 67.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.8919, allocations: 0.6528 MB / 1.286 GB, free: 67.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.8954, allocations: 0.7742 MB / 1.287 GB, free: 67.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.9166, allocations: 12.35 MB / 1.299 GB, free: 61.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.9174, allocations: 1.234 MB / 1.3 GB, free: 61.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001395/0.9188, allocations: 303.5 kB / 1.301 GB, free: 61.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.9196, allocations: 0.568 MB / 1.301 GB, free: 60.68 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.9196, allocations: 0 / 1.301 GB, free: 60.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.9806, allocations: 42.57 MB / 1.343 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.02, allocations: 7.344 kB / 1.343 GB, free: 27.4 MB / 0.9981 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