Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009557/0.0009557, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001018/0.001018, allocations: 166 kB / 24.87 MB, free: 9.285 MB / 18.57 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 0.9411/0.9411, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.817/1.817, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.12e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00252/0.002542, allocations: 1.442 MB / 0.7897 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.00572, allocations: 2.97 MB / 0.7926 GB, free: 7.844 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.00577, allocations: 0 / 0.7926 GB, free: 7.844 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 9.681e-05/0.005867, allocations: 11.92 kB / 0.7926 GB, free: 7.832 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.006009, allocations: 31.88 kB / 0.7926 GB, free: 7.801 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.006573, allocations: 201.2 kB / 0.7928 GB, free: 7.605 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.006785, allocations: 239.5 kB / 0.793 GB, free: 7.371 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.006826, allocations: 7.969 kB / 0.7931 GB, free: 7.363 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.006926, allocations: 121.3 kB / 0.7932 GB, free: 7.246 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.007032, allocations: 119.8 kB / 0.7933 GB, free: 7.129 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.007056, allocations: 12 kB / 0.7933 GB, free: 7.117 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.00734, allocations: 149.1 kB / 0.7934 GB, free: 6.973 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.007412, allocations: 87.8 kB / 0.7935 GB, free: 6.887 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.007475, allocations: 75.88 kB / 0.7936 GB, free: 6.812 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.007744, allocations: 303.1 kB / 0.7939 GB, free: 6.516 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007746, allocations: 0.5312 kB / 0.7939 GB, free: 6.516 MB / 0.7449 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007747, allocations: 1.562 kB / 0.7939 GB, free: 6.516 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007752, allocations: 0 / 0.7939 GB, free: 6.516 MB / 0.7449 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.0005613/0.008313, allocations: 0.5674 MB / 0.7944 GB, free: 5.914 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.008347, allocations: 11.97 kB / 0.7945 GB, free: 5.902 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.008471, allocations: 33.38 kB / 0.7945 GB, free: 5.871 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.008652, allocations: 180.9 kB / 0.7947 GB, free: 5.672 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.008693, allocations: 20.36 kB / 0.7947 GB, free: 5.652 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.008713, allocations: 16.38 kB / 0.7947 GB, free: 5.637 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.008964, allocations: 179.7 kB / 0.7949 GB, free: 5.453 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.008976, allocations: 4.188 kB / 0.7949 GB, free: 5.449 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.008991, allocations: 9.5 kB / 0.7949 GB, free: 5.441 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.008999, allocations: 4 kB / 0.7949 GB, free: 5.438 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.009324, allocations: 329 kB / 0.7952 GB, free: 5.117 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.009528, allocations: 178.2 kB / 0.7954 GB, free: 4.918 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.01007, allocations: 443.9 kB / 0.7958 GB, free: 4.473 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.01015, allocations: 79.64 kB / 0.7959 GB, free: 4.391 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.01033, allocations: 81.28 kB / 0.7959 GB, free: 4.312 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01035, allocations: 45.33 kB / 0.796 GB, free: 4.258 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=37): time 1.343e-06/0.01035, allocations: 0 / 0.796 GB, free: 4.258 MB / 0.7449 GB Notification: Performance of matching and sorting (n=37): time 0.0003772/0.01073, allocations: 274.3 kB / 0.7962 GB, free: 3.984 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.01076, allocations: 55.41 kB / 0.7963 GB, free: 3.918 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.01085, allocations: 184.1 kB / 0.7965 GB, free: 3.723 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01087, allocations: 29.7 kB / 0.7965 GB, free: 3.688 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.01092, allocations: 143.5 kB / 0.7966 GB, free: 3.543 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.011, allocations: 134.8 kB / 0.7968 GB, free: 3.41 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.01107, allocations: 67.33 kB / 0.7968 GB, free: 3.336 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01122, allocations: 0.5079 MB / 0.7973 GB, free: 2.816 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.01129, allocations: 51.39 kB / 0.7974 GB, free: 2.77 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.01136, allocations: 53.14 kB / 0.7974 GB, free: 2.719 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.0115, allocations: 107.8 kB / 0.7975 GB, free: 2.609 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0115, allocations: 0 / 0.7975 GB, free: 2.609 MB / 0.7449 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002524/0.01176, allocations: 201.3 kB / 0.7977 GB, free: 2.406 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01177, allocations: 6.188 kB / 0.7977 GB, free: 2.402 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01178, allocations: 0 / 0.7977 GB, free: 2.402 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.01179, allocations: 4 kB / 0.7977 GB, free: 2.398 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.01199, allocations: 92.64 kB / 0.7978 GB, free: 2.309 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01199, allocations: 8.438 kB / 0.7978 GB, free: 2.301 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.01209, allocations: 52.97 kB / 0.7979 GB, free: 2.25 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.0121, allocations: 17.33 kB / 0.7979 GB, free: 2.234 MB / 0.7449 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 8.65e-05/0.01219, allocations: 172.5 kB / 0.7981 GB, free: 2.055 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.01223, allocations: 31.86 kB / 0.7981 GB, free: 2.023 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.01253, allocations: 271.8 kB / 0.7983 GB, free: 1.754 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01253, allocations: 4 kB / 0.7984 GB, free: 1.75 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01254, allocations: 0 / 0.7984 GB, free: 1.75 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.01254, allocations: 7.922 kB / 0.7984 GB, free: 1.742 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.0127, allocations: 178 kB / 0.7985 GB, free: 1.543 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0127, allocations: 0 / 0.7985 GB, free: 1.543 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.01288, allocations: 101.2 kB / 0.7986 GB, free: 1.445 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01288, allocations: 2 kB / 0.7986 GB, free: 1.445 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01289, allocations: 11.98 kB / 0.7986 GB, free: 1.434 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.0129, allocations: 0 / 0.7986 GB, free: 1.434 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.0129, allocations: 4 kB / 0.7986 GB, free: 1.43 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01316, allocations: 267.9 kB / 0.7989 GB, free: 1.145 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.01318, allocations: 19.84 kB / 0.7989 GB, free: 1.125 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.0132, allocations: 11.25 kB / 0.7989 GB, free: 1.117 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.01328, allocations: 39.95 kB / 0.799 GB, free: 1.078 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.01336, allocations: 39.92 kB / 0.799 GB, free: 1.039 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.01337, allocations: 15.98 kB / 0.799 GB, free: 1.023 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.01341, allocations: 139.1 kB / 0.7992 GB, free: 0.8867 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.01341, allocations: 0 / 0.7992 GB, free: 0.8867 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002547/0.01367, allocations: 120.7 kB / 0.7993 GB, free: 0.7695 MB / 0.7449 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.0002434/0.01391, allocations: 197.4 kB / 0.7995 GB, free: 0.5742 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01415, allocations: 195.2 kB / 0.7996 GB, free: 388 kB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01415, allocations: 0 / 0.7996 GB, free: 388 kB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.01427, allocations: 131.5 kB / 0.7998 GB, free: 252 kB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01454, allocations: 105.6 kB / 0.7999 GB, free: 148 kB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/0.0152, allocations: 352.3 kB / 0.8002 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01525, allocations: 88.81 kB / 0.8003 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.01539, allocations: 72.75 kB / 0.8004 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.01557, allocations: 162.1 kB / 0.8005 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of SimCode: time 8.01e-07/0.01557, allocations: 0 / 0.8005 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of Templates: time 0.007166/0.02273, allocations: 6.542 MB / 0.8069 GB, free: 9.027 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127395152114332]