Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.001096/0.001096, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001376/0.001376, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.012/1.012, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.338/2.338, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.762e-05, allocations: 13.28 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.005167/0.005195, allocations: 1.356 MB / 0.891 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.006972, allocations: 1.188 MB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.007002, allocations: 0 / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.007023, allocations: 3.938 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.01012, allocations: 7.922 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.01067, allocations: 159.2 kB / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.01073, allocations: 43.78 kB / 0.8924 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.01077, allocations: 3.984 kB / 0.8924 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.01083, allocations: 27.92 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.617e-05/0.01086, allocations: 11.98 kB / 0.8925 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.01087, allocations: 0 / 0.8925 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.0112, allocations: 147.7 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.01121, allocations: 0 / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.01123, allocations: 19.92 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.01145, allocations: 147.5 kB / 0.8928 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01145, allocations: 4 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01145, allocations: 0 / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.01146, allocations: 0 / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003349/0.01179, allocations: 400.2 kB / 0.8931 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.01183, allocations: 12.03 kB / 0.8932 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.01186, allocations: 8.891 kB / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.624e-05/0.01194, allocations: 104.6 kB / 0.8933 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.01195, allocations: 8.375 kB / 0.8933 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.01196, allocations: 4.375 kB / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.01206, allocations: 65.55 kB / 0.8933 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.01207, allocations: 4.188 kB / 0.8933 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.01207, allocations: 4.375 kB / 0.8933 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.01208, allocations: 3.938 kB / 0.8933 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.01213, allocations: 35.95 kB / 0.8934 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.01225, allocations: 116.9 kB / 0.8935 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.01233, allocations: 81.97 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.01236, allocations: 27.44 kB / 0.8936 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.01291, allocations: 265.5 kB / 0.8939 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003032/0.01594, allocations: 37.33 kB / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.01594, allocations: 0 / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001785/0.01612, allocations: 73.62 kB / 0.894 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.01615, allocations: 89.05 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.01622, allocations: 161.9 kB / 0.8942 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.01623, allocations: 25.7 kB / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.01627, allocations: 126.9 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.01631, allocations: 31.86 kB / 0.8944 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.01634, allocations: 35.36 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01647, allocations: 496.1 kB / 0.8949 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.01649, allocations: 4 kB / 0.8949 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.01652, allocations: 35.34 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.01657, allocations: 39.31 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01657, allocations: 0 / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.66e-05/0.01667, allocations: 69.61 kB / 0.895 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01668, allocations: 8 kB / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01669, allocations: 0 / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.0167, allocations: 7.969 kB / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.01677, allocations: 19.94 kB / 0.8951 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01677, allocations: 0 / 0.8951 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.01679, allocations: 7.938 kB / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.0168, allocations: 3.984 kB / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 7.181e-05/0.01687, allocations: 160.6 kB / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.01688, allocations: 7.953 kB / 0.8952 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.01703, allocations: 94.12 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01703, allocations: 7.984 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01703, allocations: 0 / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01704, allocations: 7.969 kB / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.01713, allocations: 105.2 kB / 0.8954 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01713, allocations: 0 / 0.8954 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.01717, allocations: 15.98 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01717, allocations: 4 kB / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.01718, allocations: 0 / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01718, allocations: 3.938 kB / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01718, allocations: 0 / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.01729, allocations: 123.9 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.01732, allocations: 11.98 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.01733, allocations: 4 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.01735, allocations: 4 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.01736, allocations: 7.984 kB / 0.8956 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01737, allocations: 4 kB / 0.8956 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.0174, allocations: 123.4 kB / 0.8957 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0174, allocations: 0 / 0.8957 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000243/0.01764, allocations: 63.73 kB / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002661/0.01791, allocations: 186.9 kB / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.01801, allocations: 43.67 kB / 0.896 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01801, allocations: 0 / 0.896 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.01804, allocations: 31.61 kB / 0.896 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01824, allocations: 11.98 kB / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.01871, allocations: 182 kB / 0.8962 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.01874, allocations: 63.34 kB / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.0188, allocations: 12.02 kB / 0.8963 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.01886, allocations: 86.19 kB / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of SimCode: time 9.61e-07/0.01886, allocations: 0 / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of Templates: time 0.003441/0.0223, allocations: 1.832 MB / 0.8982 GB, free: 0.7617 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_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.447137747891247]