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.001822/0.001822, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002314/0.002314, allocations: 207.7 kB / 22.99 MB, free: 4.984 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002152/0.002152, allocations: 71.2 kB / 1.155 GB, free: 25.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3039, allocations: 176.1 MB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002973/0.3069, allocations: 1.379 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.311, allocations: 2.77 MB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.311, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.058e-05/0.3111, allocations: 7.922 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.3112, allocations: 43.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.3118, allocations: 187.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.3121, allocations: 247.4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3121, allocations: 11.94 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3122, allocations: 91.86 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3124, allocations: 119.7 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3124, allocations: 12 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.3128, allocations: 151.8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.3129, allocations: 87.83 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.313, allocations: 79.72 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.3134, allocations: 279 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3134, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3134, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3134, allocations: 0 / 1.332 GB, free: 11.39 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.0008461/0.3142, allocations: 473.1 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3142, allocations: 8.031 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3144, allocations: 28.83 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3146, allocations: 174.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.3147, allocations: 24.36 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3147, allocations: 16.31 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.3154, allocations: 297.6 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3154, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.3154, allocations: 8 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3154, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.317, allocations: 0.7217 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3173, allocations: 236.8 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.319, allocations: 0.6401 MB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.3195, allocations: 212.7 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.3198, allocations: 83.94 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3198, allocations: 38.56 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.3198, allocations: 0 / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001684/0.3215, allocations: 0.6546 MB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3215, allocations: 55.41 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3216, allocations: 128.6 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3217, allocations: 33.7 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3217, allocations: 92.78 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3219, allocations: 126.9 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.322, allocations: 69.67 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3221, allocations: 334.8 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3226, allocations: 191.8 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.3231, allocations: 207.6 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.324, allocations: 349.2 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.324, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001119/0.3252, allocations: 468.5 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3252, allocations: 13.34 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3252, allocations: 7.938 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3252, allocations: 0 / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.3256, allocations: 95.84 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3256, allocations: 0 / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3258, allocations: 55.73 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3258, allocations: 12 kB / 1.338 GB, free: 5.438 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.0001544/0.326, allocations: 150.3 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.326, allocations: 19.84 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3273, allocations: 0.5102 MB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3273, allocations: 7.938 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3273, allocations: 0 / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3273, allocations: 3.984 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3276, allocations: 237 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3276, allocations: 0 / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.328, allocations: 95.86 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.328, allocations: 4 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.328, allocations: 15.92 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.328, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.328, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3291, allocations: 0.4927 MB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.3292, allocations: 23.84 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3292, allocations: 7.938 kB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3294, allocations: 39.89 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.3296, allocations: 119.8 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3297, allocations: 16 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.3297, allocations: 102.4 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3297, allocations: 4 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003947/0.3301, allocations: 115.8 kB / 1.34 GB, free: 3.426 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.0003473/0.3305, allocations: 186.8 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3315, allocations: 455.3 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3315, allocations: 4 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.3321, allocations: 248.3 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3325, allocations: 75.92 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.3333, allocations: 431.6 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3334, allocations: 118.5 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004257/0.3339, allocations: 182.7 kB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.334, allocations: 43.36 kB / 1.342 GB, free: 1.664 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.334, allocations: 4 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of Templates: time 0.01076/0.3447, allocations: 5.813 MB / 1.347 GB, free: 11.96 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 -s gbode -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/jenkins1/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.928938402998028]