Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.00205/0.00205, allocations: 81.69 kB / 19.18 MB, free: 2.531 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.003317/0.003317, allocations: 166.8 kB / 22.45 MB, free: 5.363 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.564/1.564, allocations: 177.2 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.961/2.961, allocations: 388.8 MB / 0.6328 GB, free: 1.289 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.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9996 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.007e-05, allocations: 2.281 kB / 0.9996 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.003812/0.003842, allocations: 1.311 MB / 1.001 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00435/0.008192, allocations: 1.491 MB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.008221, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.008252, allocations: 3.938 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.008365, allocations: 11.91 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.009458, allocations: 215 kB / 1.003 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.009578, allocations: 43.8 kB / 1.003 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.009627, allocations: 4 kB / 1.003 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.009721, allocations: 31.89 kB / 1.003 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.009767, allocations: 8 kB / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.009784, allocations: 0 / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.01068, allocations: 219.5 kB / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.0107, allocations: 11.91 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.01075, allocations: 16 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.01126, allocations: 187.5 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01126, allocations: 0 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01126, allocations: 0 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.01127, allocations: 0 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006621/0.01193, allocations: 313.8 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.01197, allocations: 8.031 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.01202, allocations: 0.9375 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.01219, allocations: 117.7 kB / 1.004 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.01221, allocations: 384 / 1.004 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.01222, allocations: 4.375 kB / 1.004 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.01242, allocations: 63.97 kB / 1.004 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01243, allocations: 192 / 1.004 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.01244, allocations: 4.375 kB / 1.004 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01245, allocations: 3.938 kB / 1.004 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.0126, allocations: 51.88 kB / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.01285, allocations: 118.1 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.01304, allocations: 69.11 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.96e-05/0.01313, allocations: 29.77 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.01456, allocations: 255.9 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.01461, allocations: 42.56 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.01461, allocations: 3.938 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003974/0.01501, allocations: 85.61 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.01509, allocations: 81.05 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.01521, allocations: 93.86 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.01524, allocations: 33.7 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.0153, allocations: 84.12 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.01537, allocations: 31.7 kB / 1.005 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.01544, allocations: 21.7 kB / 1.005 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.01565, allocations: 318.8 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.01572, allocations: 12.12 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.01579, allocations: 29.64 kB / 1.005 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.01594, allocations: 50 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01594, allocations: 0 / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002455/0.01619, allocations: 77.61 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01621, allocations: 4 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01621, allocations: 0 / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01623, allocations: 0 / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.01636, allocations: 24.17 kB / 1.005 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01637, allocations: 3.938 kB / 1.005 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.01642, allocations: 7.984 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01644, allocations: 4 kB / 1.005 GB, free: 2.207 MB / 0.9512 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 (9): * Single equations (assignments): 9 * 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 0.0001258/0.01656, allocations: 117.8 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.01659, allocations: 3.984 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.01694, allocations: 101.8 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01694, allocations: 0 / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.01695, allocations: 3.938 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01696, allocations: 0 / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.01713, allocations: 125.2 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01713, allocations: 4.031 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.01722, allocations: 15.94 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01723, allocations: 0 / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01724, allocations: 8 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01725, allocations: 0 / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01725, allocations: 0 / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.01748, allocations: 113.8 kB / 1.006 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.01753, allocations: 11.94 kB / 1.006 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01754, allocations: 0 / 1.006 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.01758, allocations: 4 kB / 1.006 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.01761, allocations: 11.92 kB / 1.006 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.01763, allocations: 12 kB / 1.006 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.01769, allocations: 79.28 kB / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01769, allocations: 0 / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005254/0.01821, allocations: 79.67 kB / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0006037/0.01882, allocations: 210.9 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.01901, allocations: 47.91 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01901, allocations: 4.062 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.01908, allocations: 23.94 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.01948, allocations: 18.08 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.02004, allocations: 161.6 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.108e-05/0.02012, allocations: 67.25 kB / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.02029, allocations: 16.05 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.02033, allocations: 16.5 kB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.02033, allocations: 0 / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of Templates: time 0.008005/0.02833, allocations: 1.973 MB / 1.008 GB, free: 14.9 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.592979483306408]