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.001707/0.001707, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002116/0.002116, allocations: 166 kB / 22.46 MB, free: 5.375 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.96/2.96, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] 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.013e-06/2.013e-06, allocations: 0 / 1 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.008e-05, allocations: 14.16 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006349/0.006379, allocations: 3.677 MB / 1.004 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.006623, allocations: 139.4 kB / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.006646, allocations: 0 / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.006759, allocations: 0 / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.006847, allocations: 23.84 kB / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.007255, allocations: 87.61 kB / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.007358, allocations: 31.86 kB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.007405, allocations: 7.984 kB / 1.004 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.007462, allocations: 15.97 kB / 1.004 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.00753, allocations: 8 kB / 1.004 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.007546, allocations: 7.938 kB / 1.004 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.008184, allocations: 187.4 kB / 1.004 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.008225, allocations: 0 / 1.004 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.008259, allocations: 12 kB / 1.004 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.008432, allocations: 67.78 kB / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.008436, allocations: 0 / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008438, allocations: 3.938 kB / 1.004 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.008443, allocations: 0 / 1.004 GB, free: 1.934 MB / 0.9044 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.0004496/0.008892, allocations: 254.3 kB / 1.004 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.008933, allocations: 12.03 kB / 1.005 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.008975, allocations: 4.938 kB / 1.005 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.009139, allocations: 113.7 kB / 1.005 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.009226, allocations: 55.97 kB / 1.005 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.009239, allocations: 384 / 1.005 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.009406, allocations: 67.95 kB / 1.005 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009414, allocations: 4.188 kB / 1.005 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.009428, allocations: 7.875 kB / 1.005 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.009447, allocations: 0 / 1.005 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.009499, allocations: 15.92 kB / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.009922, allocations: 200.6 kB / 1.005 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.009985, allocations: 26.58 kB / 1.005 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.01, allocations: 8.797 kB / 1.005 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.01007, allocations: 12.05 kB / 1.005 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.0101, allocations: 30.56 kB / 1.005 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.0101, allocations: 0 / 1.005 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.01026, allocations: 41.58 kB / 1.005 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.0103, allocations: 51.41 kB / 1.005 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.01041, allocations: 101.8 kB / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.01044, allocations: 25.7 kB / 1.005 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.0105, allocations: 96.22 kB / 1.005 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.01051, allocations: 7.891 kB / 1.005 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.01055, allocations: 21.7 kB / 1.005 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.0107, allocations: 310.8 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.01072, allocations: 8 kB / 1.006 GB, free: 312 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.01075, allocations: 17.7 kB / 1.006 GB, free: 288 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.01079, allocations: 25.66 kB / 1.006 GB, free: 256 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01079, allocations: 0 / 1.006 GB, free: 256 kB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.786e-05/0.01088, allocations: 53.66 kB / 1.006 GB, free: 196 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01089, allocations: 4 kB / 1.006 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.0109, allocations: 4 kB / 1.006 GB, free: 188 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01092, allocations: 0 / 1.006 GB, free: 188 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.01096, allocations: 7.938 kB / 1.006 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.01097, allocations: 0 / 1.006 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.01099, allocations: 4 kB / 1.006 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.011, allocations: 0 / 1.006 GB, free: 176 kB / 0.9044 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 9.811e-05/0.0111, allocations: 115 kB / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.01113, allocations: 7.891 kB / 1.006 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.01127, allocations: 123.4 kB / 1.006 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.868e-05/0.01136, allocations: 180.2 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.244e-05/0.01145, allocations: 180.2 kB / 1.006 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.45e-05/0.01155, allocations: 184.2 kB / 1.007 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.0118, allocations: 352.9 kB / 1.007 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.305e-05/0.01186, allocations: 105 kB / 1.007 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.01191, allocations: 105.2 kB / 1.007 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.764e-05/0.01201, allocations: 184.2 kB / 1.007 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/0.0121, allocations: 180.2 kB / 1.007 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.378e-05/0.01219, allocations: 176.3 kB / 1.008 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001004/0.01229, allocations: 188.3 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.0125, allocations: 311.7 kB / 1.008 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.01256, allocations: 116.9 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.01268, allocations: 180.3 kB / 1.008 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.01286, allocations: 116.9 kB / 1.008 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.01296, allocations: 180.2 kB / 1.009 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.01302, allocations: 105 kB / 1.009 GB, free: 12.97 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.01308, allocations: 87.27 kB / 1.009 GB, free: 12.89 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 1.009 GB, free: 12.89 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002734/0.01336, allocations: 15.94 kB / 1.009 GB, free: 12.87 MB / 0.92 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.0002538/0.01361, allocations: 198.4 kB / 1.009 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.01369, allocations: 7.938 kB / 1.009 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01369, allocations: 4 kB / 1.009 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.01369, allocations: 0 / 1.009 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.01424, allocations: 463.7 kB / 1.009 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.01459, allocations: 180.1 kB / 1.01 GB, free: 11.99 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.01466, allocations: 55.36 kB / 1.01 GB, free: 11.92 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.01471, allocations: 8.125 kB / 1.01 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.01474, allocations: 12.48 kB / 1.01 GB, free: 11.9 MB / 0.92 GB Notification: Performance of SimCode: time 6.41e-07/0.01474, allocations: 0 / 1.01 GB, free: 11.9 MB / 0.92 GB Notification: Performance of Templates: time 0.003793/0.01854, allocations: 0.6832 MB / 1.01 GB, free: 11.23 MB / 0.92 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: 8.46077774465084]