Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.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.000814/0.000814, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001936, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007064/0.0007064, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009387/0.001645, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9723/0.9723, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09378/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5065/2.354, allocations: 123.3 MB / 0.728 GB, free: 5.766 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.191e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002406/0.002428, allocations: 1.488 MB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.00605, allocations: 3.018 MB / 0.7337 GB, free: 16 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.0061, allocations: 0 / 0.7337 GB, free: 16 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.006146, allocations: 7.922 kB / 0.7337 GB, free: 8 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.006272, allocations: 40.81 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.006818, allocations: 191.8 kB / 0.7339 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.007101, allocations: 257.2 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.007148, allocations: 4 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.007308, allocations: 123.8 kB / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.007458, allocations: 115.8 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.007493, allocations: 12.5 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.007871, allocations: 156.7 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.007954, allocations: 71.84 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.008033, allocations: 47.94 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.008389, allocations: 263.8 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.695e-05/0.008406, allocations: 0 / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008407, allocations: 1.125 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.008424, allocations: 0 / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000773/0.009197, allocations: 497.6 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.009235, allocations: 12.03 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.009405, allocations: 106.4 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.009753, allocations: 171.1 kB / 0.7357 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.0098, allocations: 20.36 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.009826, allocations: 20.31 kB / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.01014, allocations: 178.6 kB / 0.7359 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.01015, allocations: 192 / 0.7359 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.01017, allocations: 8.125 kB / 0.7359 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.01018, allocations: 4 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.01065, allocations: 288.8 kB / 0.7362 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.01087, allocations: 150.3 kB / 0.7363 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.01159, allocations: 414.2 kB / 0.7367 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01171, allocations: 67.22 kB / 0.7368 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.01194, allocations: 89.3 kB / 0.7369 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.01197, allocations: 38.56 kB / 0.7369 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.01197, allocations: 0 / 0.7369 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0003911/0.01236, allocations: 207.8 kB / 0.7371 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.0124, allocations: 56.66 kB / 0.7372 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.01248, allocations: 122 kB / 0.7373 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.0125, allocations: 37.69 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.01253, allocations: 89.81 kB / 0.7374 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.01262, allocations: 130.8 kB / 0.7375 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.01271, allocations: 65.59 kB / 0.7376 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.01281, allocations: 332 kB / 0.7379 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.0129, allocations: 42.56 kB / 0.738 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.01299, allocations: 40.05 kB / 0.738 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01318, allocations: 114.8 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01318, allocations: 1.031 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002526/0.01343, allocations: 149.1 kB / 0.7383 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01345, allocations: 10.81 kB / 0.7383 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01345, allocations: 0 / 0.7383 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.01346, allocations: 0 / 0.7383 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.01381, allocations: 118.6 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01381, allocations: 3.984 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01396, allocations: 62.56 kB / 0.7384 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.01399, allocations: 11.98 kB / 0.7384 GB, free: 11.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.429e-05/0.01408, allocations: 124.5 kB / 0.7386 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.01412, allocations: 23.98 kB / 0.7386 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.01448, allocations: 218.7 kB / 0.7388 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01448, allocations: 4 kB / 0.7388 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.01449, allocations: 0 / 0.7388 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01449, allocations: 4.594 kB / 0.7388 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.0147, allocations: 153.7 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.0147, allocations: 6 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.01502, allocations: 115.8 kB / 0.7391 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01504, allocations: 23.78 kB / 0.7391 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01504, allocations: 2.438 kB / 0.7391 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01506, allocations: 7.984 kB / 0.7391 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01507, allocations: 4 kB / 0.7391 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01507, allocations: 0 / 0.7391 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.01536, allocations: 210.7 kB / 0.7393 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.01539, allocations: 11.94 kB / 0.7393 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01552, allocations: 38.2 kB / 0.7394 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.01562, allocations: 43.92 kB / 0.7394 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.01564, allocations: 11.98 kB / 0.7394 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.01567, allocations: 12.86 kB / 0.7394 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01567, allocations: 1.031 kB / 0.7394 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000342/0.01601, allocations: 119.8 kB / 0.7395 GB, free: 9.852 MB / 0.7136 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 (37): * Single equations (assignments): 37 * 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.0003187/0.01633, allocations: 175.2 kB / 0.7397 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.01662, allocations: 164.5 kB / 0.7399 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.01663, allocations: 7.938 kB / 0.7399 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.01679, allocations: 110.5 kB / 0.74 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.01713, allocations: 114 kB / 0.7401 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.02105, allocations: 367.4 kB / 0.7404 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.02111, allocations: 93.81 kB / 0.7405 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.02134, allocations: 73.06 kB / 0.7406 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.02158, allocations: 133.3 kB / 0.7407 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.02158, allocations: 0 / 0.7407 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of Templates: time 0.01075/0.03232, allocations: 6.682 MB / 0.7472 GB, free: 2.148 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137573294341564]