Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008097/0.0008097, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007846/0.0007846, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8862/0.8862, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/3.98e-05, allocations: 5.234 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006507/0.006547, allocations: 3.672 MB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.006758, allocations: 135.5 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.006782, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.006905, allocations: 11.94 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.007, allocations: 11.91 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.00746, allocations: 86 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.007559, allocations: 35.84 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.007608, allocations: 0 / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.007686, allocations: 27.97 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.007773, allocations: 11.98 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.007789, allocations: 0 / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.008316, allocations: 179.3 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.008361, allocations: 11.98 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.008383, allocations: 8 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.008512, allocations: 67.78 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008515, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.643e-06/0.008517, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.008521, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 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.0003339/0.008855, allocations: 262.3 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.008888, allocations: 9.344 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.008929, allocations: 4.891 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.009006, allocations: 113.8 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.009066, allocations: 51.97 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.009074, allocations: 4.375 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.009196, allocations: 67.89 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.009206, allocations: 192 / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.009217, allocations: 3.938 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.009233, allocations: 0 / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.575e-05/0.009269, allocations: 23.98 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.009583, allocations: 200.6 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.133e-05/0.009614, allocations: 14.58 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.009628, allocations: 12.86 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.009667, allocations: 15.91 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.009687, allocations: 30.56 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.009688, allocations: 4 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.009813, allocations: 37.64 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.009841, allocations: 51.53 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.009908, allocations: 121.7 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.009919, allocations: 25.7 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.009953, allocations: 80.14 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.009959, allocations: 7.953 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.009983, allocations: 17.7 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.01005, allocations: 318.8 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.01007, allocations: 7.938 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.01009, allocations: 21.7 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.01012, allocations: 21.72 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01012, allocations: 4 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.479e-05/0.01017, allocations: 57.56 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.01018, allocations: 4 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01019, allocations: 0 / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.0102, allocations: 0 / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.612e-05/0.01023, allocations: 8 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.01024, allocations: 0 / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.01025, allocations: 0 / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.01026, allocations: 0 / 1.007 GB, free: 6.988 MB / 0.9636 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 5.465e-05/0.01031, allocations: 117.9 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.01033, allocations: 11.88 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.01042, allocations: 116.9 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.01046, allocations: 180.3 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-05/0.0105, allocations: 180.2 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.01054, allocations: 184.2 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.01067, allocations: 348.9 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002954/0.01097, allocations: 108.9 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.01099, allocations: 105 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/0.01104, allocations: 188.1 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.01108, allocations: 184.3 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-05/0.01111, allocations: 176.3 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.951e-05/0.01115, allocations: 180.2 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/0.01125, allocations: 311.8 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.01128, allocations: 104.9 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.01132, allocations: 180.3 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.01142, allocations: 112.9 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.01146, allocations: 180.3 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.01149, allocations: 104.9 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.01153, allocations: 91.27 kB / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01153, allocations: 4 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000175/0.0117, allocations: 19.94 kB / 1.01 GB, free: 3.688 MB / 0.9636 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.0001438/0.01184, allocations: 194.3 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.976e-05/0.0119, allocations: 12 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01191, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01191, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.01222, allocations: 463.6 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.01244, allocations: 210.2 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.01248, allocations: 59.36 kB / 1.01 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.01251, allocations: 12.5 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.01251, allocations: 0 / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of Templates: time 0.001638/0.01414, allocations: 0.7498 MB / 1.011 GB, free: 1.953 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.483131244778633]