Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7646, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00424/0.7689, allocations: 3.773 MB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.769, allocations: 158 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.7691, allocations: 0.9062 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.7691, allocations: 5.562 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.7692, allocations: 14.23 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.7695, allocations: 81.69 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.7695, allocations: 34.64 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.7696, allocations: 6.781 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.7696, allocations: 19.27 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.7697, allocations: 12.22 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.7697, allocations: 5.094 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.7701, allocations: 199.3 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.7701, allocations: 4.859 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.7702, allocations: 12.91 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.7703, allocations: 39.34 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7703, allocations: 1.969 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7703, allocations: 0.5625 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7703, allocations: 3.938 kB / 1.276 GB, free: 4.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002541/0.7705, allocations: 333.3 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.7706, allocations: 12.47 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.7706, allocations: 35.72 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.7706, allocations: 3.688 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.335e-05/0.7707, allocations: 166.5 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.7707, allocations: 27.83 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.7707, allocations: 4.969 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.7709, allocations: 44.28 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7709, allocations: 4.75 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.7709, allocations: 4 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.7709, allocations: 5.812 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.7709, allocations: 16.28 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.7712, allocations: 332.5 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.7713, allocations: 17.97 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.7713, allocations: 10.44 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.7713, allocations: 83.61 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.7713, allocations: 40.22 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7713, allocations: 0 / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.7715, allocations: 37.91 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.7715, allocations: 51.41 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.7715, allocations: 102.5 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.7715, allocations: 26.48 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.7716, allocations: 90.3 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.7716, allocations: 8.953 kB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.7716, allocations: 19.14 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.7716, allocations: 317.8 kB / 1.277 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.7716, allocations: 3 kB / 1.277 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.7716, allocations: 17.81 kB / 1.277 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.7717, allocations: 34.06 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7717, allocations: 0 / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.096e-05/0.7717, allocations: 45.34 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.7718, allocations: 11.25 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.7718, allocations: 0.875 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7718, allocations: 1.312 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.7718, allocations: 5.031 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7718, allocations: 0 / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.7718, allocations: 3.734 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.7718, allocations: 1.5 kB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.806e-05/0.7719, allocations: 120 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7719, allocations: 1.75 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.772, allocations: 121.9 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.772, allocations: 186.3 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.772, allocations: 182 kB / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.772, allocations: 185.8 kB / 1.278 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.7721, allocations: 412.4 kB / 1.279 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.7721, allocations: 106.1 kB / 1.279 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.7722, allocations: 103.8 kB / 1.279 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/0.7722, allocations: 177.2 kB / 1.279 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.7722, allocations: 185.3 kB / 1.279 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.513e-05/0.7722, allocations: 180.1 kB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-05/0.7723, allocations: 181.5 kB / 1.279 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.7724, allocations: 310.1 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.7725, allocations: 183.7 kB / 1.28 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.7726, allocations: 182.1 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7727, allocations: 113.4 kB / 1.28 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.7728, allocations: 179.6 kB / 1.28 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.7728, allocations: 102.2 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.7729, allocations: 86.16 kB / 1.281 GB, free: 15.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.7729, allocations: 0.875 kB / 1.281 GB, free: 15.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002226/0.7731, allocations: 22.94 kB / 1.281 GB, free: 15.38 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004811/0.7736, allocations: 0.8295 MB / 1.281 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.7736, allocations: 9.844 kB / 1.281 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7737, allocations: 8.812 kB / 1.281 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.7737, allocations: 0 / 1.281 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.774, allocations: 457.2 kB / 1.282 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.7749, allocations: 1.329 MB / 1.283 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.7752, allocations: 0.6739 MB / 1.284 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.7752, allocations: 5.859 kB / 1.284 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.7752, allocations: 9.531 kB / 1.284 GB, free: 12.06 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7752, allocations: 0 / 1.284 GB, free: 12.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.7979, allocations: 1.506 MB / 1.285 GB, free: 11.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.617, allocations: 8.875 kB / 1.285 GB, free: 11.67 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.117754287995922]