Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.0009576/0.0009576, allocations: 81.86 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.0009474/0.0009474, allocations: 181 kB / 24.09 MB, free: 420 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.9301/0.9301, 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.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.143e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.133/0.133, allocations: 156.9 MB / 0.9407 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1454, allocations: 9.422 MB / 0.9499 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.1468, allocations: 111.2 kB / 0.95 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.1497, allocations: 1.625 MB / 0.9516 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.1524, allocations: 2.16 MB / 0.9537 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.155, allocations: 1.939 MB / 0.9556 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.006815/0.1618, allocations: 8.172 MB / 0.9636 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.1631, allocations: 1.436 MB / 0.965 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.1656, allocations: 2.496 MB / 0.9674 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.1666, allocations: 1.169 MB / 0.9686 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.1668, allocations: 184 kB / 0.9688 GB, free: 2.051 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1678, allocations: 0.8227 MB / 0.9696 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.1684, allocations: 0.7672 MB / 0.9703 GB, free: 468 kB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.169, allocations: 0.76 MB / 0.9711 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1708, allocations: 2.129 MB / 0.9731 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1708, allocations: 4 kB / 0.9731 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1708, allocations: 0 / 0.9731 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.1708, allocations: 0 / 0.9731 GB, free: 13.55 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002142/0.173, allocations: 2.697 MB / 0.9758 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.173, allocations: 8.031 kB / 0.9758 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.1746, allocations: 0.7122 MB / 0.9765 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.1796, allocations: 5.347 MB / 0.9817 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.1797, allocations: 82.19 kB / 0.9818 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1798, allocations: 119.9 kB / 0.9819 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1808, allocations: 1.203 MB / 0.9831 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1808, allocations: 7.938 kB / 0.9831 GB, free: 3.027 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.1809, allocations: 48 kB / 0.9831 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.1809, allocations: 42 kB / 0.9832 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.1813, allocations: 373.2 kB / 0.9835 GB, free: 2.574 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004448/0.1858, allocations: 7.551 MB / 0.9909 GB, free: 10.76 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.186, allocations: 147 kB / 0.991 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.1861, allocations: 51.64 kB / 0.9911 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.1862, allocations: 31.97 kB / 0.9911 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1862, allocations: 41.39 kB / 0.9911 GB, free: 10.47 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1862, allocations: 0 / 0.9911 GB, free: 10.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0004693/0.1867, allocations: 346.7 kB / 0.9915 GB, free: 10.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1867, allocations: 55.41 kB / 0.9915 GB, free: 10.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.188, allocations: 1.658 MB / 0.9931 GB, free: 8.355 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.188, allocations: 33.7 kB / 0.9932 GB, free: 8.316 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.1887, allocations: 1.175 MB / 0.9943 GB, free: 7.129 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.1887, allocations: 79.41 kB / 0.9944 GB, free: 7.051 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1889, allocations: 172.1 kB / 0.9946 GB, free: 6.871 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.189, allocations: 0.5158 MB / 0.9951 GB, free: 6.348 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1891, allocations: 75.62 kB / 0.9951 GB, free: 6.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.1895, allocations: 0.7834 MB / 0.9959 GB, free: 5.184 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.19, allocations: 0.7739 MB / 0.9967 GB, free: 4.148 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.19, allocations: 8 kB / 0.9967 GB, free: 4.141 MB / 0.948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000815/0.1908, allocations: 0.6992 MB / 0.9974 GB, free: 3.434 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1908, allocations: 12 kB / 0.9974 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1908, allocations: 12.81 kB / 0.9974 GB, free: 3.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1908, allocations: 20 kB / 0.9974 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.1912, allocations: 187.7 kB / 0.9976 GB, free: 3.207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.1912, allocations: 31.88 kB / 0.9976 GB, free: 3.176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.1916, allocations: 123.2 kB / 0.9977 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.1916, allocations: 40 kB / 0.9978 GB, free: 3.016 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002503/0.1919, allocations: 212.7 kB / 0.998 GB, free: 2.805 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000361/0.1922, allocations: 0.7795 MB / 0.9987 GB, free: 1.719 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000466/0.1927, allocations: 0.7641 MB / 0.9995 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.1927, allocations: 4 kB / 0.9995 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0006116/0.1933, allocations: 0.6997 MB / 1 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1933, allocations: 15.98 kB / 1 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1933, allocations: 12 kB / 1 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1934, allocations: 20 kB / 1 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1936, allocations: 171.7 kB / 1 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.1937, allocations: 28.2 kB / 1 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.194, allocations: 95.59 kB / 1 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1941, allocations: 39.98 kB / 1.001 GB, free: 15.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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 0.0001255/0.1942, allocations: 327.6 kB / 1.001 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1943, allocations: 182.8 kB / 1.001 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.1945, allocations: 157.1 kB / 1.001 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1945, allocations: 4 kB / 1.001 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1945, allocations: 0 / 1.001 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1945, allocations: 0 / 1.001 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1957, allocations: 1.31 MB / 1.002 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1957, allocations: 8 kB / 1.002 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1958, allocations: 39.91 kB / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1958, allocations: 8 kB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1958, allocations: 4.5 kB / 1.003 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1958, allocations: 15.88 kB / 1.003 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1958, allocations: 11.98 kB / 1.003 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1962, allocations: 0.4949 MB / 1.003 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.1964, allocations: 210.7 kB / 1.003 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.1965, allocations: 11.98 kB / 1.003 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.1967, allocations: 31.98 kB / 1.003 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1968, allocations: 27.84 kB / 1.003 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1968, allocations: 8 kB / 1.003 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007698/0.1975, allocations: 0.8668 MB / 1.004 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1975, allocations: 0 / 1.004 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009831/0.1985, allocations: 0.7327 MB / 1.005 GB, free: 10.92 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.0002181/0.1987, allocations: 171 kB / 1.005 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.1993, allocations: 0.5321 MB / 1.006 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1993, allocations: 1.938 kB / 1.006 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.1994, allocations: 64.52 kB / 1.006 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.201, allocations: 0.9587 MB / 1.007 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.2035, allocations: 2.667 MB / 1.009 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2038, allocations: 394.9 kB / 1.01 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007015/0.2045, allocations: 323.5 kB / 1.01 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.2055, allocations: 0.7164 MB / 1.011 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of SimCode: time 8.52e-07/0.2055, allocations: 0 / 1.011 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of Templates: time 0.0346/0.2401, allocations: 32.39 MB / 1.042 GB, free: 5.371 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.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.8178707412444055]