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.0009515/0.0009515, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001037/0.001037, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9392/0.9392, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.867/1.867, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.523e-06/1.523e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.093e-05, allocations: 3.062 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.1499/0.1499, allocations: 159.9 MB / 0.9677 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.1643, allocations: 9.523 MB / 0.977 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.1663, allocations: 107.2 kB / 0.9771 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003787/0.1701, allocations: 1.641 MB / 0.9787 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004707/0.1748, allocations: 2.134 MB / 0.9808 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.1782, allocations: 2.067 MB / 0.9828 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00858/0.1868, allocations: 8.075 MB / 0.9907 GB, free: 9.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.1894, allocations: 1.424 MB / 0.9921 GB, free: 8.207 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.1937, allocations: 2.46 MB / 0.9945 GB, free: 5.742 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.1959, allocations: 1.209 MB / 0.9957 GB, free: 4.551 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.1963, allocations: 200 kB / 0.9959 GB, free: 4.355 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.198, allocations: 0.9512 MB / 0.9968 GB, free: 3.402 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.1986, allocations: 0.8023 MB / 0.9976 GB, free: 2.598 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1996, allocations: 0.799 MB / 0.9984 GB, free: 1.797 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.2024, allocations: 2.227 MB / 1.001 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2025, allocations: 0 / 1.001 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2025, allocations: 0 / 1.001 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.359e-05/0.2025, allocations: 0 / 1.001 GB, free: 15.56 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.002774/0.2053, allocations: 2.706 MB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2053, allocations: 8.75 kB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.2073, allocations: 0.7941 MB / 1.004 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.2129, allocations: 5.456 MB / 1.009 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.213, allocations: 86.19 kB / 1.009 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2131, allocations: 115.9 kB / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.2144, allocations: 1.262 MB / 1.011 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2144, allocations: 7.938 kB / 1.011 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.2145, allocations: 48 kB / 1.011 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.2145, allocations: 41.98 kB / 1.011 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.2153, allocations: 467.2 kB / 1.011 GB, free: 4.234 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.005012/0.2203, allocations: 7.872 MB / 1.019 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.2206, allocations: 163.2 kB / 1.019 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.2207, allocations: 55.66 kB / 1.019 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-05/0.2208, allocations: 19.98 kB / 1.019 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2208, allocations: 41.39 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.2208, allocations: 4 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0005826/0.2214, allocations: 377.6 kB / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.2214, allocations: 51.41 kB / 1.02 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.223, allocations: 1.675 MB / 1.021 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2231, allocations: 37.7 kB / 1.021 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.2237, allocations: 1.152 MB / 1.022 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2238, allocations: 79.41 kB / 1.022 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.2239, allocations: 172.2 kB / 1.023 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2241, allocations: 0.5159 MB / 1.023 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.2242, allocations: 91.62 kB / 1.023 GB, free: 7.555 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.2247, allocations: 0.7952 MB / 1.024 GB, free: 6.461 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.2252, allocations: 0.7831 MB / 1.025 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2252, allocations: 4 kB / 1.025 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008038/0.226, allocations: 0.75 MB / 1.026 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.226, allocations: 8 kB / 1.026 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2261, allocations: 16 kB / 1.026 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.2261, allocations: 24.77 kB / 1.026 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.2265, allocations: 179.7 kB / 1.026 GB, free: 4.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.2265, allocations: 27.86 kB / 1.026 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.2269, allocations: 119.3 kB / 1.026 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.227, allocations: 51.92 kB / 1.026 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003196/0.2273, allocations: 220.8 kB / 1.026 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006074/0.2279, allocations: 0.7913 MB / 1.027 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005802/0.2285, allocations: 0.775 MB / 1.028 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.2285, allocations: 4 kB / 1.028 GB, free: 1.871 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0007812/0.2292, allocations: 0.7394 MB / 1.028 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2293, allocations: 18.95 kB / 1.028 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2293, allocations: 12 kB / 1.028 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2293, allocations: 20 kB / 1.028 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.2296, allocations: 175.7 kB / 1.029 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.2296, allocations: 31.84 kB / 1.029 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.23, allocations: 96.44 kB / 1.029 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.2301, allocations: 43.98 kB / 1.029 GB, free: 0.7383 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.0001528/0.2302, allocations: 323.6 kB / 1.029 GB, free: 424 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.2304, allocations: 186.8 kB / 1.029 GB, free: 236 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.2305, allocations: 157.1 kB / 1.029 GB, free: 80 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2305, allocations: 96 / 1.029 GB, free: 80 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2305, allocations: 3.984 kB / 1.029 GB, free: 76 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2305, allocations: 0 / 1.029 GB, free: 76 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.2323, allocations: 1.604 MB / 1.031 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2323, allocations: 4 kB / 1.031 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2324, allocations: 43.91 kB / 1.031 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2324, allocations: 8 kB / 1.031 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2325, allocations: 11.98 kB / 1.031 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2325, allocations: 12.31 kB / 1.031 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2325, allocations: 8 kB / 1.031 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.2329, allocations: 0.5184 MB / 1.032 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.2331, allocations: 210.7 kB / 1.032 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.2332, allocations: 8 kB / 1.032 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.2335, allocations: 35.97 kB / 1.032 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.2335, allocations: 23.86 kB / 1.032 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2335, allocations: 12 kB / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008906/0.2344, allocations: 0.9218 MB / 1.033 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2344, allocations: 0 / 1.033 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001578/0.236, allocations: 0.725 MB / 1.033 GB, free: 11.69 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.0003222/0.2363, allocations: 175 kB / 1.034 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007295/0.237, allocations: 0.5623 MB / 1.034 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.237, allocations: 4 kB / 1.034 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.2371, allocations: 66.03 kB / 1.034 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.2389, allocations: 0.9565 MB / 1.035 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.2419, allocations: 2.667 MB / 1.038 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2423, allocations: 398.9 kB / 1.038 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008369/0.2431, allocations: 367.5 kB / 1.039 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2432, allocations: 112.5 kB / 1.039 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of SimCode: time 8.61e-07/0.2432, allocations: 0 / 1.039 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of Templates: time 0.4287/0.672, allocations: 29.76 MB / 1.068 GB, free: 130.8 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.357369774952531]