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.001606/0.001606, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.001425/0.001425, allocations: 214.7 kB / 22.99 MB, free: 4.965 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002068/0.002068, allocations: 65.06 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002589/0.3123, allocations: 1.387 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.3161, allocations: 2.77 MB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.3162, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.233e-05/0.3162, allocations: 11.92 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3163, allocations: 35.81 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.3169, allocations: 191.1 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.3172, allocations: 243.5 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3172, allocations: 11.94 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.3173, allocations: 87.92 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3175, allocations: 131.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3175, allocations: 12 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.3179, allocations: 147.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.318, allocations: 87.81 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.3181, allocations: 79.72 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.3185, allocations: 275 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3185, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3185, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3185, allocations: 0 / 1.332 GB, free: 11.52 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.0008526/0.3193, allocations: 473.1 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3194, allocations: 12.03 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3195, allocations: 20.78 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3198, allocations: 188.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.3198, allocations: 28.36 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.3199, allocations: 16.38 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.3206, allocations: 293.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3206, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3206, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3206, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.3222, allocations: 0.7217 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.3225, allocations: 236.8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3242, allocations: 0.6369 MB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.3247, allocations: 216.7 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.325, allocations: 79.95 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3251, allocations: 34.5 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.3251, allocations: 4 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001706/0.3268, allocations: 0.6546 MB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3268, allocations: 55.41 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3269, allocations: 126.1 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.327, allocations: 33.7 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.327, allocations: 88.8 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3271, allocations: 134.8 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3272, allocations: 65.69 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3274, allocations: 326.8 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.3279, allocations: 195.8 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.3284, allocations: 203.6 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.3293, allocations: 361.1 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3293, allocations: 0 / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001104/0.3304, allocations: 468.5 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3304, allocations: 10.12 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3304, allocations: 7.938 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3304, allocations: 0 / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.3308, allocations: 95.86 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3308, allocations: 0 / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.331, allocations: 51.73 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.331, allocations: 19.98 kB / 1.338 GB, free: 5.562 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.0001373/0.3312, allocations: 142.3 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.3312, allocations: 19.84 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3325, allocations: 0.5102 MB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3325, allocations: 7.984 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3325, allocations: 0 / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3325, allocations: 3.938 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3328, allocations: 241 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3328, allocations: 0 / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3332, allocations: 95.84 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3332, allocations: 4 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3332, allocations: 15.92 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.3332, allocations: 7.984 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3332, allocations: 0 / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.3343, allocations: 496.5 kB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.3344, allocations: 27.83 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.3344, allocations: 11.94 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3346, allocations: 31.97 kB / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.3348, allocations: 123.8 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.3349, allocations: 15.98 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.34e-05/0.3349, allocations: 103.1 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3349, allocations: 0 / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004069/0.3353, allocations: 119.7 kB / 1.34 GB, free: 3.551 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.0003345/0.3357, allocations: 186.8 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.3368, allocations: 455.2 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3368, allocations: 4 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.3374, allocations: 248.3 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3378, allocations: 71.92 kB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.3386, allocations: 431.6 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3387, allocations: 118.5 kB / 1.341 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.3391, allocations: 185.1 kB / 1.342 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3392, allocations: 39.42 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3392, allocations: 0 / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of Templates: time 0.01089/0.3501, allocations: 5.815 MB / 1.347 GB, free: 12.09 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 -s gbode -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: 8.740455744002247]