Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000812/0.000812, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008501/0.0008501, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7207, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003301/0.724, allocations: 3.297 MB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.7242, allocations: 145.8 kB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.7242, allocations: 0 / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.599e-05/0.7243, allocations: 7.922 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.7243, allocations: 6.422 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.7246, allocations: 71.06 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.7247, allocations: 55.47 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.7247, allocations: 0 / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.7248, allocations: 18.05 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.7248, allocations: 9.609 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.7249, allocations: 1.438 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.7253, allocations: 141.7 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.7253, allocations: 13.81 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.7253, allocations: 29.27 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.7254, allocations: 24.3 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7254, allocations: 9.719 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7254, allocations: 0 / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7254, allocations: 0 / 0.9581 GB, free: 4.711 MB / 0.7169 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.0002467/0.7257, allocations: 334.2 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.7257, allocations: 8.906 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.7258, allocations: 1.781 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.7258, allocations: 163 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.7259, allocations: 27.55 kB / 0.9587 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.7259, allocations: 5.781 kB / 0.9587 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.726, allocations: 49.92 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.726, allocations: 0 / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.726, allocations: 5.516 kB / 0.9587 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.7261, allocations: 0 / 0.9587 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.7261, allocations: 13.52 kB / 0.9587 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.7264, allocations: 334 kB / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.741e-05/0.7265, allocations: 27.92 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.7265, allocations: 14.19 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.7266, allocations: 82.61 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.7266, allocations: 31.94 kB / 0.9592 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7266, allocations: 0 / 0.9592 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.7267, allocations: 39.12 kB / 0.9592 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.7267, allocations: 51.41 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.7268, allocations: 108.8 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7268, allocations: 25.7 kB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.7269, allocations: 85.5 kB / 0.9595 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.7269, allocations: 5.281 kB / 0.9595 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.7269, allocations: 4 kB / 0.9595 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.7269, allocations: 312.2 kB / 0.9598 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.7269, allocations: 1.375 kB / 0.9598 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.727, allocations: 18.02 kB / 0.9598 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.727, allocations: 12.12 kB / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.727, allocations: 0 / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.546e-05/0.7271, allocations: 54.95 kB / 0.9599 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7271, allocations: 5.281 kB / 0.9599 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7271, allocations: 3.938 kB / 0.9599 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7271, allocations: 1.219 kB / 0.9599 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.032e-05/0.7271, allocations: 9.359 kB / 0.9599 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7272, allocations: 0 / 0.9599 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.7272, allocations: 9.531 kB / 0.9599 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.7272, allocations: 1.469 kB / 0.9599 GB, free: 2.758 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.7272, allocations: 108.4 kB / 0.96 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.7273, allocations: 8.844 kB / 0.96 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.7273, allocations: 127.9 kB / 0.9601 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.7274, allocations: 177.4 kB / 0.9603 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/0.7274, allocations: 185.4 kB / 0.9605 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.7274, allocations: 181.4 kB / 0.9607 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.7276, allocations: 408.8 kB / 0.9611 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7276, allocations: 101.1 kB / 0.9611 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.7276, allocations: 105.9 kB / 0.9612 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.74e-05/0.7276, allocations: 185.3 kB / 0.9614 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.7277, allocations: 181 kB / 0.9616 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.43e-05/0.7277, allocations: 193.2 kB / 0.9618 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-05/0.7277, allocations: 177.4 kB / 0.962 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.7278, allocations: 304.5 kB / 0.9622 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.7278, allocations: 187.5 kB / 0.9624 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.7279, allocations: 182.6 kB / 0.9626 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7281, allocations: 107.8 kB / 0.9627 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.7282, allocations: 185.7 kB / 0.9629 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.7282, allocations: 106.2 kB / 0.963 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.7283, allocations: 91.62 kB / 0.9631 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7283, allocations: 0 / 0.9631 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002529/0.7285, allocations: 16.56 kB / 0.9631 GB, free: 15.34 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.7287, allocations: 188.3 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.7288, allocations: 14.67 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7288, allocations: 0 / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-06/0.7288, allocations: 5.375 kB / 0.9633 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.7293, allocations: 0.522 MB / 0.9638 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.7296, allocations: 189.1 kB / 0.964 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.7298, allocations: 0.6762 MB / 0.9646 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.324e-05/0.7299, allocations: 9.094 kB / 0.9646 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.7299, allocations: 8.719 kB / 0.9646 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7299, allocations: 0 / 0.9646 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.002814/0.7327, allocations: 0.5462 MB / 0.9652 GB, free: 13.43 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches