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.001002/0.001002, allocations: 85.95 kB / 19.87 MB, free: 4.617 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.001011/0.001011, allocations: 169.7 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 0.9298/0.9298, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.436/2.436, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.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_latest_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_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.772e-05, allocations: 5.688 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001924/0.001952, allocations: 1.43 MB / 0.8911 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.00311, allocations: 1.051 MB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.003153, allocations: 4 kB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.003236, allocations: 7.922 kB / 0.8922 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.003335, allocations: 31.88 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.0037, allocations: 119.4 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.003884, allocations: 247.4 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.003926, allocations: 4 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004033, allocations: 119.8 kB / 0.8927 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.004143, allocations: 115.8 kB / 0.8928 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.004171, allocations: 8 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.004443, allocations: 119.7 kB / 0.8929 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.004523, allocations: 95.83 kB / 0.893 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.004586, allocations: 67.83 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.004848, allocations: 255.3 kB / 0.8933 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004851, allocations: 0 / 0.8933 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004852, allocations: 4 kB / 0.8933 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.004858, allocations: 0 / 0.8933 GB, free: 6.129 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006055/0.005463, allocations: 0.5581 MB / 0.8938 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.005507, allocations: 8.922 kB / 0.8938 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.005631, allocations: 32.84 kB / 0.8939 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.005804, allocations: 176.3 kB / 0.894 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.005841, allocations: 20.36 kB / 0.8941 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.00586, allocations: 16.38 kB / 0.8941 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.006096, allocations: 182.8 kB / 0.8943 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006105, allocations: 192 / 0.8943 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.006119, allocations: 8.375 kB / 0.8943 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.006128, allocations: 7.938 kB / 0.8943 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.006429, allocations: 323.4 kB / 0.8946 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.006623, allocations: 177.1 kB / 0.8947 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.007148, allocations: 449.4 kB / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.007238, allocations: 76.27 kB / 0.8952 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.007445, allocations: 85.53 kB / 0.8953 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.007479, allocations: 49.33 kB / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.023e-06/0.007481, allocations: 0 / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.00073/0.008211, allocations: 269.9 kB / 0.8956 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.008236, allocations: 63.16 kB / 0.8957 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.008315, allocations: 189.8 kB / 0.8959 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.008331, allocations: 29.7 kB / 0.8959 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.008374, allocations: 135.5 kB / 0.896 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.00846, allocations: 138.8 kB / 0.8962 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.008524, allocations: 75.31 kB / 0.8962 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.008646, allocations: 0.5001 MB / 0.8967 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.008709, allocations: 47.95 kB / 0.8968 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.008772, allocations: 51.84 kB / 0.8968 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.008909, allocations: 112.1 kB / 0.8969 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008911, allocations: 0 / 0.8969 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000228/0.009139, allocations: 205.3 kB / 0.8971 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.009153, allocations: 4 kB / 0.8971 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.009159, allocations: 0 / 0.8971 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009172, allocations: 4 kB / 0.8971 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.009374, allocations: 99.84 kB / 0.8972 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.009377, allocations: 0 / 0.8972 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.009465, allocations: 51.8 kB / 0.8973 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.00948, allocations: 15.98 kB / 0.8973 GB, free: 1.832 MB / 0.8542 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.017e-05/0.009561, allocations: 168.5 kB / 0.8975 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.009595, allocations: 35.86 kB / 0.8975 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.009898, allocations: 259.3 kB / 0.8977 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.009903, allocations: 4 kB / 0.8977 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.009906, allocations: 3.984 kB / 0.8977 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.009911, allocations: 3.938 kB / 0.8977 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.01006, allocations: 185 kB / 0.8979 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01006, allocations: 0 / 0.8979 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.01023, allocations: 107.8 kB / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01023, allocations: 0 / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01025, allocations: 15.97 kB / 0.898 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01025, allocations: 0 / 0.898 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01025, allocations: 0 / 0.898 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.01051, allocations: 267.7 kB / 0.8983 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.01053, allocations: 19.84 kB / 0.8983 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01055, allocations: 4 kB / 0.8983 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.01063, allocations: 43.97 kB / 0.8984 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.0107, allocations: 39.92 kB / 0.8984 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.01071, allocations: 15.98 kB / 0.8984 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.01076, allocations: 135.2 kB / 0.8985 GB, free: 492 kB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01076, allocations: 3.938 kB / 0.8985 GB, free: 488 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002306/0.01099, allocations: 99.86 kB / 0.8986 GB, free: 388 kB / 0.8542 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.0002415/0.01123, allocations: 167 kB / 0.8988 GB, free: 212 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.01145, allocations: 199.2 kB / 0.899 GB, free: 8 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01145, allocations: 0 / 0.899 GB, free: 8 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01157, allocations: 119.5 kB / 0.8991 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01185, allocations: 100.2 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.01249, allocations: 363 kB / 0.8995 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.01254, allocations: 84.83 kB / 0.8996 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.01268, allocations: 69.52 kB / 0.8997 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.01286, allocations: 162.1 kB / 0.8998 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.01286, allocations: 0 / 0.8998 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of Templates: time 0.00757/0.02043, allocations: 5.981 MB / 0.9057 GB, free: 9.203 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.566209179349244]