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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 80.02 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 168.4 kB / 22.46 MB, free: 5.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.799/2.799, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.715e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005576/0.005603, allocations: 3.61 MB / 0.9545 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.005808, allocations: 143.5 kB / 0.9546 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.005827, allocations: 0 / 0.9546 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.005923, allocations: 7.984 kB / 0.9546 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.005998, allocations: 11.88 kB / 0.9546 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.006359, allocations: 87.61 kB / 0.9547 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.006453, allocations: 39.84 kB / 0.9547 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.006495, allocations: 3.938 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.006548, allocations: 19.97 kB / 0.9548 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.006615, allocations: 7.984 kB / 0.9548 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.006632, allocations: 8 kB / 0.9548 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.007223, allocations: 207.2 kB / 0.955 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.007269, allocations: 15.92 kB / 0.955 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.007298, allocations: 11.98 kB / 0.955 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.007463, allocations: 55.88 kB / 0.9551 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007466, allocations: 0 / 0.9551 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.007468, allocations: 0 / 0.9551 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.007473, allocations: 0 / 0.9551 GB, free: 7.352 MB / 0.8575 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.0004181/0.007891, allocations: 266.3 kB / 0.9553 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.007929, allocations: 12.03 kB / 0.9553 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.007964, allocations: 0.9375 kB / 0.9553 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.008083, allocations: 109.8 kB / 0.9554 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.00816, allocations: 51.97 kB / 0.9555 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.008173, allocations: 4.312 kB / 0.9555 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.00832, allocations: 71.94 kB / 0.9556 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00833, allocations: 4.125 kB / 0.9556 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.008343, allocations: 3.938 kB / 0.9556 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.008363, allocations: 3.984 kB / 0.9556 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.00841, allocations: 16 kB / 0.9556 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.008812, allocations: 216.5 kB / 0.9558 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.008859, allocations: 14.58 kB / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.008879, allocations: 8.859 kB / 0.9558 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.008936, allocations: 8 kB / 0.9558 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.008963, allocations: 34.5 kB / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.008964, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.009119, allocations: 41.69 kB / 0.9559 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.00916, allocations: 51.41 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.00926, allocations: 101.9 kB / 0.956 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.009279, allocations: 29.83 kB / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.009341, allocations: 88.08 kB / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.009346, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.009381, allocations: 17.72 kB / 0.9562 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.009512, allocations: 318.8 kB / 0.9565 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.009528, allocations: 3.984 kB / 0.9565 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.009556, allocations: 17.84 kB / 0.9565 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.009591, allocations: 21.72 kB / 0.9565 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009592, allocations: 0 / 0.9565 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.739e-05/0.00968, allocations: 61.61 kB / 0.9566 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.009695, allocations: 11.94 kB / 0.9566 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.009699, allocations: 0 / 0.9566 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.009716, allocations: 3.984 kB / 0.9566 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.009759, allocations: 4 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.009765, allocations: 4 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.009784, allocations: 3.984 kB / 0.9566 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.009793, allocations: 0 / 0.9566 GB, free: 5.578 MB / 0.8575 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 7.932e-05/0.009872, allocations: 113.8 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.009901, allocations: 4 kB / 0.9567 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.01004, allocations: 122.1 kB / 0.9568 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.01012, allocations: 180.2 kB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.641e-05/0.01019, allocations: 184.2 kB / 0.9572 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/0.01027, allocations: 188.2 kB / 0.9574 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.0105, allocations: 352.9 kB / 0.9577 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/0.01054, allocations: 104.9 kB / 0.9578 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.01059, allocations: 109 kB / 0.9579 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.437e-05/0.01066, allocations: 184.1 kB / 0.9581 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.01074, allocations: 176.3 kB / 0.9582 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/0.01082, allocations: 188.2 kB / 0.9584 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.887e-05/0.0109, allocations: 180.2 kB / 0.9586 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01107, allocations: 311.7 kB / 0.9589 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.01112, allocations: 104.9 kB / 0.959 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.01121, allocations: 184.2 kB / 0.9592 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.01137, allocations: 108.9 kB / 0.9593 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.01146, allocations: 180.3 kB / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.0115, allocations: 108.9 kB / 0.9595 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.01155, allocations: 83.28 kB / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01155, allocations: 0 / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002525/0.01181, allocations: 15.94 kB / 0.9596 GB, free: 2.281 MB / 0.8575 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.0002156/0.01202, allocations: 198.5 kB / 0.9598 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.836e-05/0.0121, allocations: 11.98 kB / 0.9598 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0121, allocations: 0 / 0.9598 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.0121, allocations: 0 / 0.9598 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.01259, allocations: 459.6 kB / 0.9603 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.01285, allocations: 184 kB / 0.9604 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.01291, allocations: 55.48 kB / 0.9605 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.01295, allocations: 14.98 kB / 0.9605 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.01297, allocations: 12.5 kB / 0.9605 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.01297, allocations: 0 / 0.9605 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of Templates: time 0.003327/0.0163, allocations: 0.6799 MB / 0.9612 GB, free: 0.6406 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/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: 8.111453369259834]