Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001885/0.001885, allocations: 77.55 kB / 19.76 MB, free: 2.027 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: 158 kB / 23.01 MB, free: 4.949 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.981/2.981, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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_latest_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_latest_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.002257/0.002257, allocations: 67.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9144, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002301/0.9167, allocations: 1.396 MB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003085/0.9198, allocations: 2.759 MB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.9198, allocations: 1.094 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/0.9199, allocations: 3.891 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.92, allocations: 41.91 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.9207, allocations: 197 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.9209, allocations: 241 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.921, allocations: 7.141 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.9211, allocations: 97.55 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.9212, allocations: 118.9 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.9213, allocations: 11.22 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.9217, allocations: 149.9 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.9218, allocations: 95.17 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.9219, allocations: 88.17 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.9223, allocations: 268.3 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9223, allocations: 0 / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9223, allocations: 0 / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.9223, allocations: 1.344 kB / 1.192 GB, free: 12.88 MB / 1.076 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.0008083/0.9231, allocations: 475 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9232, allocations: 9.469 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.9233, allocations: 18.28 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.9236, allocations: 182.4 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.9236, allocations: 25.05 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.9236, allocations: 13.72 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.9243, allocations: 292.1 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9244, allocations: 0 / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.9244, allocations: 6.688 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.9244, allocations: 3.25 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.926, allocations: 0.7255 MB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.9264, allocations: 232.6 kB / 1.194 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.9281, allocations: 0.6415 MB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.9286, allocations: 208.8 kB / 1.195 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.929, allocations: 82.62 kB / 1.195 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.929, allocations: 37.58 kB / 1.195 GB, free: 11.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.929, allocations: 0 / 1.195 GB, free: 11.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001834/0.9308, allocations: 0.6658 MB / 1.195 GB, free: 11.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.9308, allocations: 56.83 kB / 1.195 GB, free: 11.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.9309, allocations: 124.5 kB / 1.196 GB, free: 11.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.931, allocations: 34.73 kB / 1.196 GB, free: 11.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.931, allocations: 92.92 kB / 1.196 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.9311, allocations: 132.3 kB / 1.196 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.9312, allocations: 67.41 kB / 1.196 GB, free: 11.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.9313, allocations: 328.7 kB / 1.196 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.9318, allocations: 195.1 kB / 1.196 GB, free: 10.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.9323, allocations: 196 kB / 1.197 GB, free: 10.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.9333, allocations: 366.9 kB / 1.197 GB, free: 10.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9333, allocations: 0 / 1.197 GB, free: 10.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001184/0.9345, allocations: 467.4 kB / 1.197 GB, free: 10.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9345, allocations: 12.06 kB / 1.197 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9345, allocations: 0 / 1.197 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.9345, allocations: 2.219 kB / 1.197 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.9349, allocations: 97.53 kB / 1.197 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9349, allocations: 2.734 kB / 1.197 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.9351, allocations: 52.12 kB / 1.198 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.9352, allocations: 15.34 kB / 1.198 GB, free: 10.59 MB / 1.076 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.0001114/0.9353, allocations: 139.7 kB / 1.198 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.9353, allocations: 23.92 kB / 1.198 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.9366, allocations: 0.5096 MB / 1.198 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.9367, allocations: 4.469 kB / 1.198 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9367, allocations: 0.7031 kB / 1.198 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.9367, allocations: 3.047 kB / 1.198 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.937, allocations: 230.4 kB / 1.198 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.937, allocations: 1.281 kB / 1.198 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.9374, allocations: 101.5 kB / 1.199 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9374, allocations: 1.344 kB / 1.199 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.9374, allocations: 15.36 kB / 1.199 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9374, allocations: 1.219 kB / 1.199 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9374, allocations: 4.938 kB / 1.199 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.9386, allocations: 0.4898 MB / 1.199 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.9386, allocations: 27.03 kB / 1.199 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.9387, allocations: 10.95 kB / 1.199 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.9388, allocations: 42.06 kB / 1.199 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.9391, allocations: 119.4 kB / 1.199 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.9391, allocations: 10.66 kB / 1.199 GB, free: 9.922 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.9392, allocations: 108 kB / 1.199 GB, free: 9.836 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9392, allocations: 0 / 1.199 GB, free: 9.836 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004597/0.9396, allocations: 115.5 kB / 1.199 GB, free: 9.812 MB / 1.076 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.0003164/0.94, allocations: 187.8 kB / 1.2 GB, free: 9.691 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.9411, allocations: 454.9 kB / 1.2 GB, free: 9.625 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9411, allocations: 0 / 1.2 GB, free: 9.625 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.9417, allocations: 242.7 kB / 1.2 GB, free: 9.586 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.9421, allocations: 80.05 kB / 1.2 GB, free: 9.555 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.9428, allocations: 442.1 kB / 1.201 GB, free: 9.336 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.943, allocations: 118.1 kB / 1.201 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.9434, allocations: 179.5 kB / 1.201 GB, free: 9.234 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.9435, allocations: 37.47 kB / 1.201 GB, free: 9.223 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.9435, allocations: 5.062 kB / 1.201 GB, free: 9.219 MB / 1.076 GB Notification: Performance of Templates: time 0.01052/0.954, allocations: 5.508 MB / 1.206 GB, free: 8.57 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.422360326978378]