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.001768/0.001768, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.002005/0.002005, allocations: 169 kB / 23.02 MB, free: 1.551 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.102/1.102, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.079/2.079, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 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 1.854e-06/1.854e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.801e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002402/0.00243, allocations: 1.426 MB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.00388, allocations: 1.064 MB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.003924, allocations: 7.938 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.909e-05/0.004013, allocations: 3.984 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004129, allocations: 39.75 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.004571, allocations: 131.3 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.004817, allocations: 239.5 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.004853, allocations: 4 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.004978, allocations: 119.8 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.005112, allocations: 119.7 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.005144, allocations: 8 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.00547, allocations: 119.8 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.005564, allocations: 95.78 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.005651, allocations: 67.89 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.00597, allocations: 263.2 kB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005973, allocations: 4 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005974, allocations: 0 / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005979, allocations: 0 / 0.8817 GB, free: 2.66 MB / 0.8386 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.0007057/0.006684, allocations: 0.5465 MB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.006724, allocations: 12.03 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.006881, allocations: 32.84 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.007106, allocations: 180.3 kB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.007163, allocations: 24.36 kB / 0.8825 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.007193, allocations: 12.38 kB / 0.8825 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.007565, allocations: 200.1 kB / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.007575, allocations: 192 / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.007596, allocations: 4.375 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.007607, allocations: 7.938 kB / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.008261, allocations: 451 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.008527, allocations: 200.4 kB / 0.8833 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.009316, allocations: 0.4937 MB / 0.8838 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.009684, allocations: 100.6 kB / 0.8839 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.009871, allocations: 83.91 kB / 0.884 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.009894, allocations: 37.14 kB / 0.884 GB, free: 176 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.404e-06/0.009897, allocations: 0 / 0.884 GB, free: 176 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.000482/0.01038, allocations: 341.2 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.01041, allocations: 59.34 kB / 0.8844 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.01048, allocations: 177.9 kB / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.0105, allocations: 29.7 kB / 0.8846 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.01054, allocations: 139.5 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.01062, allocations: 134.8 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.01068, allocations: 71.09 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01079, allocations: 0.5079 MB / 0.8854 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01089, allocations: 67.95 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01099, allocations: 76.94 kB / 0.8856 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01119, allocations: 139.4 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01119, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003126/0.0115, allocations: 249.5 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01152, allocations: 4 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01152, allocations: 0 / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01153, allocations: 4 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.01175, allocations: 103.9 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.01176, allocations: 3.938 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.01185, allocations: 51.84 kB / 0.8861 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.01187, allocations: 11.98 kB / 0.8861 GB, free: 13.96 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.196e-05/0.01195, allocations: 172.5 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.01199, allocations: 23.91 kB / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.01236, allocations: 314.8 kB / 0.8866 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01236, allocations: 4 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01237, allocations: 3.938 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01237, allocations: 3.984 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.01253, allocations: 204.4 kB / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01253, allocations: 0 / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.01271, allocations: 107.8 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01272, allocations: 0 / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01273, allocations: 11.98 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01273, allocations: 8 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01274, allocations: 0 / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.01306, allocations: 312.2 kB / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.01308, allocations: 19.8 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.0131, allocations: 8 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.01319, allocations: 43.95 kB / 0.8873 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.01334, allocations: 131.5 kB / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01336, allocations: 23.92 kB / 0.8875 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.0134, allocations: 139.2 kB / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 0 / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002192/0.01362, allocations: 91.88 kB / 0.8877 GB, free: 12.29 MB / 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.0002096/0.01383, allocations: 167 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.01414, allocations: 223.2 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01414, allocations: 8 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.01428, allocations: 144.2 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01455, allocations: 95.91 kB / 0.8883 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.01528, allocations: 357.3 kB / 0.8886 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01533, allocations: 92.75 kB / 0.8887 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.01556, allocations: 157.7 kB / 0.8889 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.01563, allocations: 40.47 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.01563, allocations: 0 / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.007098/0.02273, allocations: 5.821 MB / 0.8946 GB, free: 5.27 MB / 0.8542 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.7007994069717824]