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.000859/0.000859, allocations: 72.5 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.0008029/0.0008029, allocations: 177.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.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.733/1.733, allocations: 389 MB / 0.6338 GB, free: 12.73 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.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.664e-06/1.664e-06, allocations: 0 / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.343e-05, allocations: 2.281 kB / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001512/0.001536, allocations: 1.316 MB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003029, allocations: 1.488 MB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.003057, allocations: 4 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.003078, allocations: 3.938 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.003149, allocations: 11.86 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.003667, allocations: 211 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.003738, allocations: 51.72 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.003776, allocations: 4 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.003826, allocations: 31.91 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.003854, allocations: 19.92 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003868, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.004218, allocations: 211.5 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.00423, allocations: 7.984 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.004252, allocations: 15.98 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.004471, allocations: 183.5 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004473, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004474, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004478, allocations: 0 / 1.004 GB, free: 9.523 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003173/0.004795, allocations: 305.8 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00483, allocations: 17.34 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.004861, allocations: 4.938 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.004947, allocations: 117.7 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.004957, allocations: 384 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.004968, allocations: 12.31 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.00507, allocations: 59.97 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.005079, allocations: 192 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.005088, allocations: 4.375 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005095, allocations: 3.938 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.005155, allocations: 47.88 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.005277, allocations: 126.1 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.005357, allocations: 69.08 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.005391, allocations: 25.77 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004718/0.005863, allocations: 263.7 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005884, allocations: 34.5 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.005886, allocations: 4 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001861/0.006073, allocations: 94.06 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.006106, allocations: 81.05 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.006162, allocations: 97.86 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.006171, allocations: 25.7 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.00619, allocations: 80.14 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.006225, allocations: 35.69 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.006254, allocations: 21.72 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.006331, allocations: 318.8 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.00635, allocations: 8 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.006379, allocations: 29.83 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.006435, allocations: 57.7 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006437, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.037e-05/0.006517, allocations: 73.62 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006529, allocations: 8 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006533, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006545, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.006601, allocations: 15.98 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.006608, allocations: 3.938 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.006624, allocations: 7.953 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006628, allocations: 4.031 kB / 1.006 GB, free: 7.301 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 (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 5.405e-05/0.006682, allocations: 113.8 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.006689, allocations: 4 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.006827, allocations: 105.8 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.006831, allocations: 4 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.006837, allocations: 3.938 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006839, allocations: 0 / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.006908, allocations: 113.2 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.00691, allocations: 3.984 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.006936, allocations: 16 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.006937, allocations: 7.969 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.006944, allocations: 4 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006946, allocations: 4 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006948, allocations: 4 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.027e-05/0.007038, allocations: 105.8 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.007061, allocations: 11.94 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.007071, allocations: 8 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-06/0.007081, allocations: 0 / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.007097, allocations: 11.92 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.0071, allocations: 0 / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.007123, allocations: 87.28 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007124, allocations: 0 / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001901/0.007314, allocations: 75.67 kB / 1.007 GB, free: 6.559 MB / 0.9636 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.0002626/0.007576, allocations: 214.9 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.007673, allocations: 35.92 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007674, allocations: 4 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.007698, allocations: 31.92 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.007884, allocations: 22.05 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.008153, allocations: 199.3 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.00819, allocations: 63.34 kB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.008213, allocations: 20.48 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.008214, allocations: 0 / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of Templates: time 0.002418/0.01063, allocations: 1.958 MB / 1.009 GB, free: 3.961 MB / 0.9636 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: 6.489320640452206]