Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001539/0.001539, 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.001174/0.001174, 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.931/0.931, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.8 MB / 0.6236 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.872e-05, allocations: 6.906 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.1424/0.1424, allocations: 159.9 MB / 0.9677 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.1556, allocations: 9.524 MB / 0.977 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.158, allocations: 103.2 kB / 0.9771 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.1617, allocations: 1.648 MB / 0.9787 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.166, allocations: 2.161 MB / 0.9808 GB, free: 3.801 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.1696, allocations: 1.959 MB / 0.9828 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008497/0.1781, allocations: 8.031 MB / 0.9906 GB, free: 9.797 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1804, allocations: 1.424 MB / 0.992 GB, free: 8.324 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.1848, allocations: 2.871 MB / 0.9948 GB, free: 5.477 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.1866, allocations: 1.161 MB / 0.9959 GB, free: 4.312 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.1869, allocations: 184 kB / 0.9961 GB, free: 4.133 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1883, allocations: 0.8188 MB / 0.9969 GB, free: 3.312 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005207/0.1888, allocations: 0.7711 MB / 0.9977 GB, free: 2.539 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009833/0.1898, allocations: 0.76 MB / 0.9984 GB, free: 1.777 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003/0.1928, allocations: 2.13 MB / 1 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1928, allocations: 8 kB / 1 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1928, allocations: 4 kB / 1 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.985e-05/0.1929, allocations: 0 / 1 GB, free: 15.62 MB / 0.9636 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.003121/0.196, allocations: 2.655 MB / 1.003 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1961, allocations: 12.75 kB / 1.003 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.1979, allocations: 0.7122 MB / 1.004 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006513/0.2044, allocations: 5.389 MB / 1.009 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.2045, allocations: 86.19 kB / 1.009 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2046, allocations: 116 kB / 1.009 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.2061, allocations: 1.262 MB / 1.01 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.2061, allocations: 7.984 kB / 1.01 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.2062, allocations: 52 kB / 1.011 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.2062, allocations: 38 kB / 1.011 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.207, allocations: 463.2 kB / 1.011 GB, free: 4.5 MB / 0.9636 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.005722/0.2127, allocations: 7.891 MB / 1.019 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.213, allocations: 159.3 kB / 1.019 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.2131, allocations: 51.66 kB / 1.019 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.2132, allocations: 23.98 kB / 1.019 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2133, allocations: 37.39 kB / 1.019 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.2133, allocations: 3.938 kB / 1.019 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0007643/0.214, allocations: 376.2 kB / 1.019 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2141, allocations: 55.41 kB / 1.019 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.2156, allocations: 1.671 MB / 1.021 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.2156, allocations: 33.7 kB / 1.021 GB, free: 9.852 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.2163, allocations: 1.156 MB / 1.022 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.2164, allocations: 75.41 kB / 1.022 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2165, allocations: 180.2 kB / 1.022 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2167, allocations: 0.5042 MB / 1.023 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2168, allocations: 99.61 kB / 1.023 GB, free: 7.812 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.2173, allocations: 0.7874 MB / 1.024 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.218, allocations: 0.796 MB / 1.025 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2181, allocations: 4 kB / 1.025 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008691/0.2189, allocations: 0.7426 MB / 1.025 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2189, allocations: 12 kB / 1.025 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.219, allocations: 12 kB / 1.025 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.219, allocations: 20 kB / 1.025 GB, free: 4.871 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2194, allocations: 188 kB / 1.026 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.2194, allocations: 27.94 kB / 1.026 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.22, allocations: 119.2 kB / 1.026 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.22, allocations: 47.94 kB / 1.026 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005603/0.2206, allocations: 228.8 kB / 1.026 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004218/0.221, allocations: 0.7913 MB / 1.027 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005706/0.2216, allocations: 0.7898 MB / 1.027 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.723e-06/0.2216, allocations: 4 kB / 1.027 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0007918/0.2224, allocations: 0.7337 MB / 1.028 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2224, allocations: 8 kB / 1.028 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2224, allocations: 20.12 kB / 1.028 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2224, allocations: 20 kB / 1.028 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.2227, allocations: 175.7 kB / 1.028 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.2228, allocations: 27.92 kB / 1.028 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.2233, allocations: 92.23 kB / 1.029 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2233, allocations: 43.98 kB / 1.029 GB, free: 0.9922 MB / 0.9792 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.0001768/0.2235, allocations: 327.6 kB / 1.029 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2236, allocations: 186.8 kB / 1.029 GB, free: 492 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.2238, allocations: 153.2 kB / 1.029 GB, free: 340 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.2238, allocations: 11.98 kB / 1.029 GB, free: 328 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2238, allocations: 0 / 1.029 GB, free: 328 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2238, allocations: 0 / 1.029 GB, free: 328 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.2255, allocations: 1.605 MB / 1.031 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2255, allocations: 8.094 kB / 1.031 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.2257, allocations: 47.84 kB / 1.031 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2257, allocations: 4 kB / 1.031 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.2257, allocations: 12 kB / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2257, allocations: 7.984 kB / 1.031 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2257, allocations: 7.938 kB / 1.031 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2261, allocations: 0.509 MB / 1.031 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.2264, allocations: 218.6 kB / 1.032 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.2265, allocations: 4 kB / 1.032 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.2268, allocations: 27.98 kB / 1.032 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2268, allocations: 31.84 kB / 1.032 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2268, allocations: 8 kB / 1.032 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001142/0.2279, allocations: 0.9258 MB / 1.033 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2279, allocations: 0 / 1.033 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001285/0.2292, allocations: 0.7365 MB / 1.033 GB, free: 11.93 MB / 0.9948 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.0002869/0.2295, allocations: 163 kB / 1.033 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008987/0.2304, allocations: 0.569 MB / 1.034 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.2304, allocations: 8.062 kB / 1.034 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.2305, allocations: 59.47 kB / 1.034 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.2324, allocations: 0.9549 MB / 1.035 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.2357, allocations: 2.667 MB / 1.038 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.236, allocations: 398.9 kB / 1.038 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009584/0.2369, allocations: 363.5 kB / 1.038 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2371, allocations: 116.5 kB / 1.038 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of SimCode: time 1.353e-06/0.2371, allocations: 4 kB / 1.038 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of Templates: time 0.4108/0.6479, allocations: 31.68 MB / 1.069 GB, free: 130.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.073535185772926]