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.0008289/0.0008289, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002008, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007468/0.0007468, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001799, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08676/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.374/2.374, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2465/2.621, allocations: 146 MB / 0.8176 GB, free: 3.789 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.232e-06/1.232e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.676e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.0016/0.001617, allocations: 1.397 MB / 0.8203 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.00273, allocations: 1.215 MB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.002752, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.716e-06/0.002761, allocations: 7.938 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.002794, allocations: 11.91 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.003091, allocations: 143.2 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.003154, allocations: 47.73 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.003186, allocations: 8 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.003251, allocations: 31.91 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.003282, allocations: 15.97 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.003294, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.003572, allocations: 151.6 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.003583, allocations: 4 kB / 0.8219 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.0036, allocations: 15.94 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.003761, allocations: 119.7 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.003772, allocations: 0 / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003772, allocations: 0 / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.003781, allocations: 4 kB / 0.822 GB, free: 15.3 MB / 0.8073 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.0003/0.004081, allocations: 292.2 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.004108, allocations: 16.02 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.004132, allocations: 4.938 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.004203, allocations: 113.7 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.004219, allocations: 4.375 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.004232, allocations: 8.375 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.004311, allocations: 67.81 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.004316, allocations: 192 / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.004321, allocations: 384 / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.004325, allocations: 7.938 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.004356, allocations: 27.95 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.283e-05/0.004439, allocations: 77.84 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.004501, allocations: 65.16 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.004523, allocations: 21.77 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.004932, allocations: 248 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.004954, allocations: 42.55 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.004955, allocations: 3.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001018/0.005057, allocations: 53.69 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.005089, allocations: 85.05 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.005137, allocations: 106.7 kB / 0.8232 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.005146, allocations: 29.7 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.005164, allocations: 80.14 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.005197, allocations: 31.72 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.005223, allocations: 17.72 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.005292, allocations: 322.9 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.005302, allocations: 11.98 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.005321, allocations: 21.72 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.005358, allocations: 37.62 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00536, allocations: 0 / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.524e-05/0.005416, allocations: 57.67 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.005426, allocations: 11.94 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.00543, allocations: 0 / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.005439, allocations: 0 / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.005495, allocations: 23.92 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.005497, allocations: 4.031 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.005513, allocations: 11.83 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005519, allocations: 4 kB / 0.8238 GB, free: 13.24 MB / 0.8073 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 4.73e-05/0.005566, allocations: 109.8 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.005574, allocations: 7.984 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.005668, allocations: 73.73 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00567, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005673, allocations: 3.984 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005676, allocations: 4 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.352e-05/0.005739, allocations: 81.78 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00574, allocations: 4.031 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.00577, allocations: 19.98 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.005789, allocations: 11.92 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.00579, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.005794, allocations: 4 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.005797, allocations: 7.938 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005798, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.102e-05/0.005859, allocations: 89.95 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-06/0.005865, allocations: 0 / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.005877, allocations: 4 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.00589, allocations: 20.09 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.005893, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.138e-06/0.005902, allocations: 12.84 kB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005902, allocations: 0 / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001363/0.006038, allocations: 55.8 kB / 0.8243 GB, free: 12.68 MB / 0.8073 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.0001918/0.00623, allocations: 168.1 kB / 0.8245 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.006291, allocations: 33.06 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.006295, allocations: 7.938 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.006795, allocations: 37.47 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.006911, allocations: 45.92 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.007747, allocations: 189.4 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.007773, allocations: 59.22 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.007803, allocations: 15.92 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.007851, allocations: 59.38 kB / 0.8249 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.007851, allocations: 0 / 0.8249 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.002932/0.01078, allocations: 1.834 MB / 0.8267 GB, free: 10.2 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035028734244406]