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.0008935/0.0008935, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009764/0.0009764, allocations: 169 kB / 23.02 MB, free: 1.547 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.02/1.02, 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.183/2.183, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.203e-06/1.203e-06, allocations: 0 / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.939e-05, allocations: 6.812 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001791/0.001811, allocations: 1.437 MB / 0.8795 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003148, allocations: 1.066 MB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.003182, allocations: 1.625 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.003273, allocations: 7.922 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003378, allocations: 35.77 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.003742, allocations: 124.3 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.003947, allocations: 248.1 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.003982, allocations: 0 / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.004076, allocations: 121.4 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004178, allocations: 123.7 kB / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.004205, allocations: 12 kB / 0.8812 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.004441, allocations: 107.9 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.004529, allocations: 98.8 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.004597, allocations: 71.89 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.004844, allocations: 263.2 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004846, allocations: 0 / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004847, allocations: 3.938 kB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004851, allocations: 0 / 0.8817 GB, free: 2.652 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.0005626/0.005414, allocations: 0.548 MB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.005446, allocations: 12.03 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.005567, allocations: 28.84 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.005749, allocations: 184.3 kB / 0.8825 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.005789, allocations: 20.36 kB / 0.8825 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.005813, allocations: 16.38 kB / 0.8825 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.006087, allocations: 196.1 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.006099, allocations: 4.172 kB / 0.8827 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.006114, allocations: 8.375 kB / 0.8827 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.006125, allocations: 7.938 kB / 0.8827 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.006576, allocations: 451.1 kB / 0.8832 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.006787, allocations: 192.4 kB / 0.8834 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.007435, allocations: 0.4897 MB / 0.8838 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.007572, allocations: 108.6 kB / 0.8839 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.007767, allocations: 83.88 kB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.007793, allocations: 45.14 kB / 0.8841 GB, free: 160 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.007795, allocations: 0 / 0.8841 GB, free: 160 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004984/0.008293, allocations: 329.2 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.008323, allocations: 63.28 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.008412, allocations: 177.9 kB / 0.8846 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.008436, allocations: 33.7 kB / 0.8846 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.008485, allocations: 135.5 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.008571, allocations: 134.9 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.008642, allocations: 75.09 kB / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.008775, allocations: 0.5079 MB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.008881, allocations: 63.95 kB / 0.8855 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.008989, allocations: 80.94 kB / 0.8856 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.009181, allocations: 135.4 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009184, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003166/0.009501, allocations: 249.5 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.009513, allocations: 4 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009517, allocations: 0 / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.009535, allocations: 0 / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.009748, allocations: 107.9 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.009756, allocations: 7.938 kB / 0.8861 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.009848, allocations: 47.84 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.009867, allocations: 15.98 kB / 0.8861 GB, free: 13.95 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.538e-05/0.009952, allocations: 168.5 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.009987, allocations: 27.91 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.01038, allocations: 306.9 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01039, allocations: 4 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.0104, allocations: 7.938 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0104, allocations: 3.984 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01056, allocations: 204.4 kB / 0.8868 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01057, allocations: 0 / 0.8868 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.01075, allocations: 103.8 kB / 0.8869 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.01075, allocations: 3.984 kB / 0.8869 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.01077, allocations: 19.98 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01077, allocations: 0 / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01077, allocations: 4 kB / 0.887 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.0111, allocations: 304.2 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.01112, allocations: 27.8 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01114, allocations: 8 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.01123, allocations: 35.95 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.0114, allocations: 135.5 kB / 0.8874 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01142, allocations: 19.92 kB / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.01146, allocations: 143.2 kB / 0.8876 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01146, allocations: 0 / 0.8876 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002196/0.01168, allocations: 95.88 kB / 0.8877 GB, free: 12.28 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.0002184/0.0119, allocations: 163 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.01221, allocations: 227.2 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01221, allocations: 0 / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.01237, allocations: 152.2 kB / 0.8882 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01264, allocations: 91.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.0007486/0.01339, allocations: 355.1 kB / 0.8886 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01344, allocations: 92.75 kB / 0.8887 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000232/0.01368, allocations: 157.7 kB / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.01376, allocations: 44.47 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of SimCode: time 1.312e-06/0.01376, allocations: 0 / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.006285/0.02004, allocations: 5.085 MB / 0.8939 GB, free: 5.988 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.726812147069722]