Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001239/0.001239, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001352/0.001352, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.89/2.89, allocations: 0.49 GB / 0.7958 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.06 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2901, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002441/0.2925, allocations: 1.414 MB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003782/0.2963, allocations: 3.004 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.2963, allocations: 3.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.449e-05/0.2964, allocations: 7.922 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2965, allocations: 35.81 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.2971, allocations: 191.1 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.2973, allocations: 239.5 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.2974, allocations: 11.94 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2975, allocations: 99.78 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.2976, allocations: 119.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.2977, allocations: 12 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.298, allocations: 159.7 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2981, allocations: 83.77 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2982, allocations: 91.64 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2986, allocations: 275 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2986, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2986, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2986, allocations: 8 kB / 1.333 GB, free: 11.7 MB / 1.029 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.0007946/0.2994, allocations: 466.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2994, allocations: 12.03 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.2995, allocations: 16.84 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.2998, allocations: 185.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.2998, allocations: 32.36 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.2999, allocations: 16.38 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.3005, allocations: 289.6 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3005, allocations: 0 / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3005, allocations: 4 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.3005, allocations: 8 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3019, allocations: 0.7491 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3023, allocations: 280.1 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3039, allocations: 0.6518 MB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.3043, allocations: 212.7 kB / 1.336 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.3046, allocations: 91.91 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3047, allocations: 38.5 kB / 1.336 GB, free: 8.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.3047, allocations: 4 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001585/0.3062, allocations: 0.6508 MB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3063, allocations: 59.34 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3064, allocations: 126.1 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3064, allocations: 29.7 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.3065, allocations: 92.73 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3066, allocations: 134.9 kB / 1.337 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.3067, allocations: 61.69 kB / 1.337 GB, free: 7.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3068, allocations: 326.8 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.3073, allocations: 195.8 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.3078, allocations: 207.6 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.3086, allocations: 357.2 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3086, allocations: 0 / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001056/0.3097, allocations: 472.3 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3097, allocations: 4 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3097, allocations: 0 / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3097, allocations: 4 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.3101, allocations: 99.86 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3101, allocations: 0 / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3103, allocations: 55.73 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3103, allocations: 15.98 kB / 1.338 GB, free: 5.645 MB / 1.029 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 0.000127/0.3104, allocations: 134.3 kB / 1.339 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3105, allocations: 27.78 kB / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.3116, allocations: 0.5025 MB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3116, allocations: 11.98 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3116, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3117, allocations: 8 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.312, allocations: 284.4 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.312, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3123, allocations: 103.8 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3123, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3123, allocations: 8 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3123, allocations: 8 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3123, allocations: 3.984 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3134, allocations: 0.4887 MB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.3134, allocations: 23.78 kB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3135, allocations: 11.98 kB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3136, allocations: 31.97 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.3139, allocations: 119.8 kB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.3139, allocations: 19.98 kB / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.314, allocations: 101.9 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.314, allocations: 0 / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003823/0.3143, allocations: 119.7 kB / 1.34 GB, free: 3.578 MB / 1.029 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.0003039/0.3146, allocations: 186.9 kB / 1.341 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.3157, allocations: 451.3 kB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3157, allocations: 0 / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.3162, allocations: 252.3 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3166, allocations: 77.42 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.3174, allocations: 469.2 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3177, allocations: 0.7328 MB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3179, allocations: 47.41 kB / 1.342 GB, free: 1.328 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3179, allocations: 0 / 1.342 GB, free: 1.328 MB / 1.029 GB Notification: Performance of Templates: time 0.007347/0.3252, allocations: 4.769 MB / 1.347 GB, free: 12.62 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 10.70271889900323]