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.001151/0.001151, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00118/0.00118, allocations: 161 kB / 23.82 MB, free: 0.75 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.9272/0.9272, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.74/1.74, allocations: 359 MB / 0.6052 GB, free: 11 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 1.012e-06/1.012e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.213e-05, allocations: 6.094 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001703/0.001725, allocations: 1.44 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.00475, allocations: 3.001 MB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.00479, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.018e-05/0.004851, allocations: 3.984 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.004935, allocations: 43.75 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.005416, allocations: 197.8 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.005614, allocations: 239.5 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.005645, allocations: 11.97 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.005741, allocations: 115.8 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.005838, allocations: 121.5 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.005861, allocations: 12 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.006139, allocations: 143.7 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.006211, allocations: 95.84 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.006277, allocations: 76.72 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.006555, allocations: 307.1 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006557, allocations: 0 / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006557, allocations: 0.5312 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.006562, allocations: 0.5 kB / 0.7927 GB, free: 6.703 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.0005697/0.007132, allocations: 0.5641 MB / 0.7933 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.007165, allocations: 8.562 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.007287, allocations: 32.83 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.007454, allocations: 181.7 kB / 0.7935 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.00749, allocations: 24.36 kB / 0.7935 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.00751, allocations: 16.38 kB / 0.7935 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.007781, allocations: 195.7 kB / 0.7937 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.00779, allocations: 4.125 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.007808, allocations: 8.875 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.007816, allocations: 4 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.00827, allocations: 451.2 kB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.008483, allocations: 206 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.009115, allocations: 0.4892 MB / 0.7948 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.009243, allocations: 105.9 kB / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.009422, allocations: 75.95 kB / 0.795 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.009443, allocations: 37.39 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.009444, allocations: 3.938 kB / 0.795 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0004733/0.009918, allocations: 337.2 kB / 0.7954 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.009947, allocations: 59.39 kB / 0.7954 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.01003, allocations: 192.1 kB / 0.7956 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01006, allocations: 29.7 kB / 0.7956 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.01009, allocations: 139.5 kB / 0.7958 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.01017, allocations: 134.9 kB / 0.7959 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.01024, allocations: 67.34 kB / 0.796 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003582/0.01059, allocations: 0.504 MB / 0.7965 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.01069, allocations: 67.94 kB / 0.7965 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.0108, allocations: 75.94 kB / 0.7966 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01098, allocations: 144.9 kB / 0.7967 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01098, allocations: 0.5938 kB / 0.7967 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000306/0.01129, allocations: 241.7 kB / 0.797 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.0113, allocations: 4 kB / 0.797 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01131, allocations: 0.5625 kB / 0.797 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01132, allocations: 8.5 kB / 0.797 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.01152, allocations: 105.3 kB / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01153, allocations: 0 / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.01162, allocations: 49.22 kB / 0.7971 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01164, allocations: 20.92 kB / 0.7971 GB, free: 1.992 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 7.558e-05/0.01172, allocations: 164.5 kB / 0.7973 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01175, allocations: 28.56 kB / 0.7973 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.01212, allocations: 322.4 kB / 0.7976 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01213, allocations: 8.594 kB / 0.7976 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.01213, allocations: 2.188 kB / 0.7976 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01213, allocations: 3.984 kB / 0.7976 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01228, allocations: 196.5 kB / 0.7978 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01229, allocations: 0 / 0.7978 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01246, allocations: 102.9 kB / 0.7979 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01247, allocations: 3.938 kB / 0.7979 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01248, allocations: 15.98 kB / 0.798 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01248, allocations: 4 kB / 0.798 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01249, allocations: 3.938 kB / 0.798 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.0128, allocations: 307.7 kB / 0.7983 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.01281, allocations: 15.84 kB / 0.7983 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01283, allocations: 8 kB / 0.7983 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.01292, allocations: 42.02 kB / 0.7983 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.01308, allocations: 135.7 kB / 0.7984 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01309, allocations: 15.98 kB / 0.7985 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.01313, allocations: 136.3 kB / 0.7986 GB, free: 452 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01313, allocations: 0 / 0.7986 GB, free: 452 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002345/0.01337, allocations: 115.8 kB / 0.7987 GB, free: 336 kB / 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.000218/0.01359, allocations: 201.5 kB / 0.7989 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01388, allocations: 231.6 kB / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01388, allocations: 0 / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01403, allocations: 143.5 kB / 0.7992 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01429, allocations: 107.8 kB / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.01496, allocations: 355 kB / 0.7997 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.015, allocations: 84.81 kB / 0.7998 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.01523, allocations: 167.6 kB / 0.7999 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.01531, allocations: 36.48 kB / 0.8 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01531, allocations: 0 / 0.8 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.007083/0.02239, allocations: 6.303 MB / 0.8061 GB, free: 8.805 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: 5.028652673121542]