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.001264/0.001264, 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.001399/0.001399, allocations: 217 kB / 22.25 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 8.031 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.945/2.945, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [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.001945/0.001945, allocations: 67.62 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002376/0.3082, allocations: 1.419 MB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.312, allocations: 2.996 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.312, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.185e-05/0.3121, allocations: 7.922 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3122, allocations: 47.73 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3128, allocations: 195.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.313, allocations: 239.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.3131, allocations: 11.94 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3132, allocations: 95.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3133, allocations: 127.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3134, allocations: 8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.3137, allocations: 155.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.3138, allocations: 83.78 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3139, allocations: 95.62 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3143, allocations: 267.1 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3143, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3143, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3143, allocations: 4 kB / 1.332 GB, free: 11.71 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.0007909/0.3151, allocations: 461.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3151, allocations: 20.02 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3152, allocations: 20.84 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3155, allocations: 174.3 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.3155, allocations: 24.36 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3156, allocations: 20.31 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.3162, allocations: 297.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3162, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3162, allocations: 8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3162, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.3176, allocations: 0.7527 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.318, allocations: 280.1 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.3196, allocations: 0.648 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.32, allocations: 208.7 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.3203, allocations: 91.91 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3203, allocations: 46.44 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.3203, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001569/0.3219, allocations: 0.646 MB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.322, allocations: 55.41 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3221, allocations: 128.9 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3221, allocations: 33.7 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.3222, allocations: 92.78 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3223, allocations: 126.9 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.3224, allocations: 65.67 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3225, allocations: 326.8 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.323, allocations: 195.8 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.3235, allocations: 216.4 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.3243, allocations: 352.5 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3243, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001037/0.3254, allocations: 469 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3254, allocations: 4 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3254, allocations: 0 / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3254, allocations: 8 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.3258, allocations: 99.84 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3258, allocations: 0 / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3259, allocations: 55.73 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.326, allocations: 8 kB / 1.338 GB, free: 5.672 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.0001447/0.3261, allocations: 146.3 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3262, allocations: 23.84 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3273, allocations: 0.5102 MB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3273, allocations: 4 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3273, allocations: 7.938 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3273, allocations: 7.984 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3277, allocations: 284.4 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3277, allocations: 0 / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.328, allocations: 103.8 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.328, allocations: 0 / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.328, allocations: 11.98 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.328, allocations: 4 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.328, allocations: 0 / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3292, allocations: 0.4888 MB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.3292, allocations: 23.78 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3293, allocations: 4 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3295, allocations: 39.95 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.3297, allocations: 123.8 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.3297, allocations: 8 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.655e-05/0.3298, allocations: 115.1 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004648/0.3303, allocations: 115.8 kB / 1.34 GB, free: 3.594 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.0004212/0.3307, allocations: 182.9 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.3318, allocations: 459.2 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3318, allocations: 0 / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.3323, allocations: 243.4 kB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3327, allocations: 82.95 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.3335, allocations: 436.6 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3339, allocations: 0.7327 MB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004005/0.3343, allocations: 185.3 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3344, allocations: 35.42 kB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3344, allocations: 0 / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of Templates: time 0.01062/0.345, allocations: 5.548 MB / 1.347 GB, free: 11.74 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.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.310523049905896]