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.001062/0.001062, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00107/0.00107, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9753/0.9753, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.995/1.995, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.239e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003185/0.003218, allocations: 1.451 MB / 0.8129 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.007742, allocations: 2.985 MB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.007818, allocations: 0 / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.007935, allocations: 9.141 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.008097, allocations: 39.8 kB / 0.8159 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.00899, allocations: 200.5 kB / 0.8161 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.009332, allocations: 240.6 kB / 0.8163 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.009391, allocations: 11.98 kB / 0.8163 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.009564, allocations: 115.8 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.009739, allocations: 124.5 kB / 0.8165 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.009776, allocations: 8 kB / 0.8165 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.01028, allocations: 145.9 kB / 0.8167 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.0104, allocations: 91.78 kB / 0.8168 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.0105, allocations: 75.81 kB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.01096, allocations: 299.1 kB / 0.8171 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01097, allocations: 0 / 0.8171 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.023e-06/0.01097, allocations: 0 / 0.8171 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.01098, allocations: 0.5312 kB / 0.8171 GB, free: 12.34 MB / 0.7761 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.0009267/0.0119, allocations: 0.5724 MB / 0.8177 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.01196, allocations: 12.03 kB / 0.8177 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.01216, allocations: 32.83 kB / 0.8177 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.01243, allocations: 181.5 kB / 0.8179 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.01249, allocations: 20.36 kB / 0.8179 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.01253, allocations: 16.31 kB / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.013, allocations: 197.3 kB / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01301, allocations: 192 / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.01304, allocations: 18.42 kB / 0.8181 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01305, allocations: 4 kB / 0.8182 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.01381, allocations: 447.4 kB / 0.8186 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.01414, allocations: 200.4 kB / 0.8188 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.01516, allocations: 0.4931 MB / 0.8193 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.01538, allocations: 107.6 kB / 0.8194 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.01568, allocations: 76.89 kB / 0.8194 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.01572, allocations: 38.33 kB / 0.8195 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 3.055e-06/0.01572, allocations: 0 / 0.8195 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0008051/0.01652, allocations: 334.1 kB / 0.8198 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.01657, allocations: 63.33 kB / 0.8198 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01672, allocations: 179.9 kB / 0.82 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.01675, allocations: 34.64 kB / 0.82 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.01681, allocations: 143.5 kB / 0.8202 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.01694, allocations: 131.5 kB / 0.8203 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.01706, allocations: 75.34 kB / 0.8204 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01722, allocations: 0.5083 MB / 0.8209 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.01739, allocations: 65.58 kB / 0.8209 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.01756, allocations: 84.69 kB / 0.821 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.01787, allocations: 139.4 kB / 0.8212 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01788, allocations: 0 / 0.8212 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005166/0.01839, allocations: 245.6 kB / 0.8214 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.01842, allocations: 4.969 kB / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01842, allocations: 0 / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.01844, allocations: 1.094 kB / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.0188, allocations: 100.4 kB / 0.8215 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.01881, allocations: 4.656 kB / 0.8215 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.01899, allocations: 48.97 kB / 0.8215 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.01902, allocations: 15.98 kB / 0.8216 GB, free: 7.613 MB / 0.7761 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.0001291/0.01915, allocations: 176.5 kB / 0.8217 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.01922, allocations: 31.86 kB / 0.8218 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.01983, allocations: 302.4 kB / 0.822 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01984, allocations: 4 kB / 0.822 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01984, allocations: 7.938 kB / 0.8221 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.01985, allocations: 3.984 kB / 0.8221 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.02006, allocations: 196.5 kB / 0.8222 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02006, allocations: 0 / 0.8222 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.02027, allocations: 104.8 kB / 0.8223 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.02027, allocations: 0 / 0.8223 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.02029, allocations: 17.02 kB / 0.8224 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.02029, allocations: 4 kB / 0.8224 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02029, allocations: 3.984 kB / 0.8224 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.02066, allocations: 313.4 kB / 0.8227 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.02068, allocations: 15.84 kB / 0.8227 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.02071, allocations: 8 kB / 0.8227 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.0208, allocations: 47.33 kB / 0.8227 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.02098, allocations: 135.7 kB / 0.8229 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.021, allocations: 15.98 kB / 0.8229 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.02105, allocations: 142 kB / 0.823 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02105, allocations: 3.938 kB / 0.823 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002837/0.02134, allocations: 115.7 kB / 0.8231 GB, free: 5.941 MB / 0.7761 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.0002851/0.02162, allocations: 197.8 kB / 0.8233 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.02195, allocations: 227 kB / 0.8235 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02195, allocations: 4 kB / 0.8235 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.02211, allocations: 152.2 kB / 0.8237 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.02242, allocations: 89.8 kB / 0.8238 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.02326, allocations: 363.1 kB / 0.8241 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.02331, allocations: 84.83 kB / 0.8242 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.02357, allocations: 167.8 kB / 0.8244 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.02365, allocations: 40.48 kB / 0.8244 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.02365, allocations: 0 / 0.8244 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.006956/0.0306, allocations: 5.5 MB / 0.8298 GB, free: 15.21 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.529006262077019]