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.001694/0.001694, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002147/0.002147, allocations: 216.5 kB / 22.26 MB, free: 5.082 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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 3.153/3.153, allocations: 0.5035 GB / 0.8086 GB, free: 23.64 MB / 0.6231 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 0.001912/0.001912, allocations: 64.73 kB / 1.175 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3393, allocations: 180 MB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.002723/0.342, allocations: 1.329 MB / 1.353 GB, free: 8.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.3447, allocations: 1.656 MB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.3447, allocations: 0 / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3448, allocations: 7.922 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.3449, allocations: 3.938 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.3457, allocations: 215.1 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.3458, allocations: 35.8 kB / 1.354 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3458, allocations: 8 kB / 1.354 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.3458, allocations: 23.91 kB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.3459, allocations: 19.92 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3459, allocations: 4 kB / 1.354 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.3465, allocations: 227.6 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.3465, allocations: 3.984 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3466, allocations: 19.88 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.3469, allocations: 171.5 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3469, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3469, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3469, allocations: 4 kB / 1.355 GB, free: 6.234 MB / 1.045 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.0005117/0.3475, allocations: 309.7 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3475, allocations: 12.03 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3475, allocations: 4.938 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3476, allocations: 110.5 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3476, allocations: 384 / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3477, allocations: 4.375 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3478, allocations: 71.64 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3478, allocations: 4 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3478, allocations: 4 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3478, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.3479, allocations: 43.95 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3481, allocations: 149.6 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3482, allocations: 65.08 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.3483, allocations: 37.7 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/0.3491, allocations: 252 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3491, allocations: 38.5 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3491, allocations: 4 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002098/0.3493, allocations: 85.61 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3494, allocations: 81.09 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.3495, allocations: 97.86 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3495, allocations: 29.7 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.3495, allocations: 80.14 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3496, allocations: 39.67 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.3496, allocations: 29.78 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3498, allocations: 318.8 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.3498, allocations: 8 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.3499, allocations: 29.7 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.249e-05/0.3499, allocations: 37.72 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3499, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001311/0.3501, allocations: 77.61 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3501, allocations: 19.91 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3501, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3501, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.3502, allocations: 12 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3502, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.3502, allocations: 11.94 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3502, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 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 8.741e-05/0.3503, allocations: 117.8 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.3503, allocations: 11.89 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.3505, allocations: 101.8 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3505, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3505, allocations: 4.188 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3505, allocations: 3.984 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3507, allocations: 140.7 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3507, allocations: 4 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.3507, allocations: 15.98 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3507, allocations: 3.938 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3508, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3508, allocations: 4 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3508, allocations: 4.031 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.3509, allocations: 105.9 kB / 1.357 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.3509, allocations: 19.81 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3509, allocations: 8 kB / 1.357 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.351, allocations: 0 / 1.357 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.351, allocations: 4 kB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.351, allocations: 11.92 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.351, allocations: 83.28 kB / 1.357 GB, free: 3.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.351, allocations: 0 / 1.357 GB, free: 3.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002953/0.3513, allocations: 71.73 kB / 1.358 GB, free: 3.207 MB / 1.045 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.00037/0.3517, allocations: 216.3 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3518, allocations: 39.92 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3518, allocations: 0 / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.3519, allocations: 24.08 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3521, allocations: 22.97 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3525, allocations: 190.3 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3528, allocations: 0.689 MB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.3528, allocations: 11.69 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3529, allocations: 15.44 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3529, allocations: 0 / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of Templates: time 0.004965/0.3578, allocations: 1.975 MB / 1.361 GB, free: 15.98 MB / 1.061 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.596617853268981]