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.001373/0.001373, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001432/0.001432, allocations: 181.3 kB / 24.09 MB, free: 424 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.9131/0.9131, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.698/1.698, allocations: 359 MB / 0.6055 GB, free: 10.89 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.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.061e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001791/0.001811, allocations: 1.445 MB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.004304, allocations: 2.96 MB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.004342, allocations: 1.656 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.207e-05/0.004414, allocations: 7.922 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.004507, allocations: 43.75 kB / 0.7919 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.004924, allocations: 200.6 kB / 0.7921 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.005104, allocations: 248.2 kB / 0.7923 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.005134, allocations: 4 kB / 0.7923 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.005231, allocations: 116.6 kB / 0.7924 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.005326, allocations: 119.8 kB / 0.7925 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.005348, allocations: 13.94 kB / 0.7926 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.005599, allocations: 143.7 kB / 0.7927 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.005665, allocations: 91.86 kB / 0.7928 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.005724, allocations: 83.75 kB / 0.7929 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.005978, allocations: 303.1 kB / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005979, allocations: 2.281 kB / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00598, allocations: 0 / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.005988, allocations: 0 / 0.7931 GB, free: 6.496 MB / 0.7448 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.0004984/0.006486, allocations: 0.5671 MB / 0.7937 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.006517, allocations: 8.031 kB / 0.7937 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/0.006613, allocations: 34.48 kB / 0.7937 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.006747, allocations: 180.3 kB / 0.7939 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.006779, allocations: 20.36 kB / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.006796, allocations: 16.38 kB / 0.7939 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.007001, allocations: 171.1 kB / 0.7941 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.007008, allocations: 1.5 kB / 0.7941 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.007023, allocations: 12.12 kB / 0.7941 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.007029, allocations: 4 kB / 0.7941 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.007328, allocations: 330.1 kB / 0.7944 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.007513, allocations: 184.9 kB / 0.7946 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.008023, allocations: 439.7 kB / 0.795 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.008107, allocations: 79.64 kB / 0.7951 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.008272, allocations: 94.5 kB / 0.7952 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.008294, allocations: 41.39 kB / 0.7952 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.008295, allocations: 0.6562 kB / 0.7952 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0003433/0.008639, allocations: 273.3 kB / 0.7955 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.008662, allocations: 56.25 kB / 0.7956 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.008742, allocations: 187.7 kB / 0.7957 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008759, allocations: 31.3 kB / 0.7958 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.008801, allocations: 135.5 kB / 0.7959 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.008877, allocations: 142.8 kB / 0.796 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.008954, allocations: 71.33 kB / 0.7961 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.00907, allocations: 0.5001 MB / 0.7966 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.009131, allocations: 48.92 kB / 0.7966 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.009196, allocations: 49.2 kB / 0.7967 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.009331, allocations: 115.1 kB / 0.7968 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009333, allocations: 0 / 0.7968 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002356/0.009569, allocations: 205.2 kB / 0.797 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.00958, allocations: 4 kB / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.009583, allocations: 0 / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.009593, allocations: 4 kB / 0.797 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.009778, allocations: 95.86 kB / 0.7971 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.009782, allocations: 4.438 kB / 0.7971 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.00987, allocations: 49.19 kB / 0.7971 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.009887, allocations: 16.73 kB / 0.7972 GB, free: 2.215 MB / 0.7448 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.562e-05/0.009973, allocations: 168.5 kB / 0.7973 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.01001, allocations: 36.52 kB / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.01028, allocations: 265.4 kB / 0.7976 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01028, allocations: 4 kB / 0.7976 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01029, allocations: 0 / 0.7976 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01029, allocations: 7.922 kB / 0.7976 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.01043, allocations: 177.1 kB / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01044, allocations: 0 / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.0106, allocations: 102.3 kB / 0.7979 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.0106, allocations: 0 / 0.7979 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01062, allocations: 15.92 kB / 0.7979 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01062, allocations: 4 kB / 0.7979 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01062, allocations: 0 / 0.7979 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.01087, allocations: 271.9 kB / 0.7982 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.01089, allocations: 20.81 kB / 0.7982 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.01091, allocations: 8 kB / 0.7982 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.01099, allocations: 41.05 kB / 0.7982 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.01105, allocations: 45.05 kB / 0.7983 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01107, allocations: 15.98 kB / 0.7983 GB, free: 1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.01111, allocations: 131.7 kB / 0.7984 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01111, allocations: 1.094 kB / 0.7984 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002126/0.01132, allocations: 119.8 kB / 0.7985 GB, free: 0.7539 MB / 0.7448 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.0001925/0.01151, allocations: 198 kB / 0.7987 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.01171, allocations: 191.3 kB / 0.7989 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01171, allocations: 0 / 0.7989 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.01183, allocations: 131.5 kB / 0.799 GB, free: 236 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01206, allocations: 95.91 kB / 0.7991 GB, free: 140 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.01264, allocations: 352.5 kB / 0.7994 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.01269, allocations: 92.81 kB / 0.7995 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.01283, allocations: 71.7 kB / 0.7996 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.013, allocations: 162.1 kB / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/0.013, allocations: 0 / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.006673/0.01967, allocations: 6.455 MB / 0.8061 GB, free: 9.09 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: 4.876919813919812]