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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 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.001799/0.001799, allocations: 193 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.532/2.532, allocations: 437.1 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4938, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04984/0.5436, allocations: 53.46 MB / 1.07 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.5581, allocations: 11.51 MB / 1.081 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.5595, allocations: 63.62 kB / 1.081 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.5612, allocations: 0.7567 MB / 1.082 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.5657, allocations: 2.157 MB / 1.084 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.5685, allocations: 1.361 MB / 1.085 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003948/0.5725, allocations: 3.928 MB / 1.089 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.5739, allocations: 1.287 MB / 1.09 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.576, allocations: 1.393 MB / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.577, allocations: 1.077 MB / 1.093 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.5772, allocations: 140 kB / 1.093 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.579, allocations: 1.041 MB / 1.094 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.5794, allocations: 442.5 kB / 1.094 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.5801, allocations: 0.8551 MB / 1.095 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.5826, allocations: 2.551 MB / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5826, allocations: 0 / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5827, allocations: 0 / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.5827, allocations: 0 / 1.097 GB, free: 172 kB / 0.8419 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.003083/0.5858, allocations: 2.014 MB / 1.099 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5858, allocations: 11.97 kB / 1.099 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.586, allocations: 147.8 kB / 1.1 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.5895, allocations: 0.5725 MB / 1.1 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.5913, allocations: 1.325 MB / 1.101 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.5915, allocations: 123.7 kB / 1.102 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5916, allocations: 92 kB / 1.102 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.5944, allocations: 1.358 MB / 1.103 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5945, allocations: 3.938 kB / 1.103 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.5946, allocations: 40 kB / 1.103 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.5946, allocations: 24 kB / 1.103 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.5984, allocations: 1.432 MB / 1.104 GB, free: 8.875 MB / 0.8575 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.007169/0.6056, allocations: 5.39 MB / 1.11 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.6086, allocations: 1.071 MB / 1.111 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.6103, allocations: 0.6003 MB / 1.111 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/0.611, allocations: 1.073 MB / 1.112 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.6128, allocations: 0.6744 MB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.6128, allocations: 0 / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005165/0.618, allocations: 1.754 MB / 1.115 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.618, allocations: 59.97 kB / 1.115 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.6197, allocations: 1.413 MB / 1.116 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/0.6197, allocations: 37.7 kB / 1.116 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.6202, allocations: 0.6462 MB / 1.117 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.6204, allocations: 209.1 kB / 1.117 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6207, allocations: 162.5 kB / 1.117 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6208, allocations: 333.9 kB / 1.118 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.6225, allocations: 0.5601 MB / 1.118 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.6243, allocations: 0.7496 MB / 1.119 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.6275, allocations: 1.185 MB / 1.12 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6275, allocations: 4 kB / 1.12 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003742/0.6313, allocations: 1.44 MB / 1.121 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6313, allocations: 8 kB / 1.121 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6313, allocations: 4 kB / 1.121 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6313, allocations: 8 kB / 1.121 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.6326, allocations: 251.9 kB / 1.122 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.6326, allocations: 15.92 kB / 1.122 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.634, allocations: 198.8 kB / 1.122 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.6341, allocations: 39.97 kB / 1.122 GB, free: 6.289 MB / 0.8731 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.0004759/0.6345, allocations: 357.6 kB / 1.122 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.6348, allocations: 146.2 kB / 1.122 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.6386, allocations: 1.415 MB / 1.124 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6387, allocations: 8 kB / 1.124 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6387, allocations: 4 kB / 1.124 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003362/0.642, allocations: 1.259 MB / 1.125 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.6476, allocations: 2.965 MB / 1.128 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.6476, allocations: 8.078 kB / 1.128 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6488, allocations: 207.6 kB / 1.128 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6488, allocations: 8 kB / 1.128 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.6489, allocations: 23.97 kB / 1.128 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6489, allocations: 4 kB / 1.128 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6489, allocations: 7.938 kB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.6543, allocations: 2.223 MB / 1.13 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/0.6548, allocations: 351 kB / 1.131 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.6551, allocations: 20 kB / 1.131 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.6564, allocations: 119.8 kB / 1.131 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.6565, allocations: 56.38 kB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/0.6566, allocations: 35.95 kB / 1.131 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001197/0.6578, allocations: 0.9908 MB / 1.132 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6578, allocations: 0 / 1.132 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001057/0.6588, allocations: 463.4 kB / 1.132 GB, free: 11.45 MB / 0.8887 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.006317/0.6652, allocations: 3.128 MB / 1.135 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003706/0.6689, allocations: 1.328 MB / 1.137 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6689, allocations: 0 / 1.137 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.6707, allocations: 0.6597 MB / 1.137 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.6739, allocations: 0.7642 MB / 1.138 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.6945, allocations: 13.31 MB / 1.151 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.6953, allocations: 1.221 MB / 1.152 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001173/0.6964, allocations: 314.2 kB / 1.153 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007701/0.6972, allocations: 0.5617 MB / 1.153 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.6972, allocations: 0 / 1.153 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/0.7635, allocations: 42.26 MB / 1.194 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.728, allocations: 4.703 kB / 1.194 GB, free: 11.81 MB / 0.9512 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