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.000952/0.000952, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009369/0.0009369, allocations: 185 kB / 24.09 MB, free: 416 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.9898/0.9898, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.371 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 1.773e-06/1.773e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.067e-05, allocations: 4.984 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.1528/0.1528, allocations: 156.9 MB / 0.9653 GB, free: 4 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1668, allocations: 9.433 MB / 0.9745 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.1695, allocations: 103.2 kB / 0.9746 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.1737, allocations: 1.645 MB / 0.9762 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.1779, allocations: 2.164 MB / 0.9783 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.1811, allocations: 1.966 MB / 0.9802 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00811/0.1892, allocations: 7.987 MB / 0.988 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.1914, allocations: 1.432 MB / 0.9894 GB, free: 11.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.1951, allocations: 2.876 MB / 0.9922 GB, free: 8.312 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.1965, allocations: 1.165 MB / 0.9933 GB, free: 7.145 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.1967, allocations: 188 kB / 0.9935 GB, free: 6.961 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1979, allocations: 0.8188 MB / 0.9943 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.1985, allocations: 0.7672 MB / 0.9951 GB, free: 5.371 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000741/0.1992, allocations: 0.7522 MB / 0.9958 GB, free: 4.617 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.2019, allocations: 2.141 MB / 0.9979 GB, free: 2.469 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2019, allocations: 0 / 0.9979 GB, free: 2.469 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2019, allocations: 0 / 0.9979 GB, free: 2.469 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.2019, allocations: 4 kB / 0.9979 GB, free: 2.465 MB / 0.948 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.002454/0.2044, allocations: 2.686 MB / 1.001 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2044, allocations: 8.75 kB / 1.001 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.2061, allocations: 0.7161 MB / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.2116, allocations: 5.339 MB / 1.006 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.2117, allocations: 90.19 kB / 1.007 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.2119, allocations: 120 kB / 1.007 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.2132, allocations: 1.191 MB / 1.008 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2132, allocations: 7.938 kB / 1.008 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.2133, allocations: 48 kB / 1.008 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.2133, allocations: 41.98 kB / 1.008 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.2138, allocations: 375.6 kB / 1.008 GB, free: 7.504 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.005377/0.2192, allocations: 7.58 MB / 1.016 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2195, allocations: 143.2 kB / 1.016 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.2195, allocations: 51.64 kB / 1.016 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.2196, allocations: 23.92 kB / 1.016 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2196, allocations: 41.39 kB / 1.016 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 3.106e-06/0.2197, allocations: 4 kB / 1.016 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0005904/0.2202, allocations: 352.2 kB / 1.016 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2203, allocations: 51.41 kB / 1.016 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.2219, allocations: 1.654 MB / 1.018 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.222, allocations: 29.7 kB / 1.018 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.2226, allocations: 1.179 MB / 1.019 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.2227, allocations: 75.41 kB / 1.019 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.2228, allocations: 176.1 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.223, allocations: 0.5158 MB / 1.02 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2231, allocations: 79.61 kB / 1.02 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.2234, allocations: 0.7756 MB / 1.021 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.2239, allocations: 0.7717 MB / 1.021 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.224, allocations: 4 kB / 1.021 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007011/0.2247, allocations: 0.7033 MB / 1.022 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2247, allocations: 11.98 kB / 1.022 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2247, allocations: 16 kB / 1.022 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2247, allocations: 20 kB / 1.022 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.2251, allocations: 184.2 kB / 1.022 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.2251, allocations: 23.92 kB / 1.022 GB, free: 8.105 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.2256, allocations: 123.3 kB / 1.022 GB, free: 7.984 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.2256, allocations: 39.98 kB / 1.023 GB, free: 7.945 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002802/0.2259, allocations: 212.8 kB / 1.023 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006186/0.2265, allocations: 0.7756 MB / 1.023 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004689/0.227, allocations: 0.7591 MB / 1.024 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.227, allocations: 4 kB / 1.024 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0006292/0.2276, allocations: 0.7065 MB / 1.025 GB, free: 4.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2276, allocations: 8 kB / 1.025 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2277, allocations: 16 kB / 1.025 GB, free: 4.887 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2277, allocations: 20 kB / 1.025 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.228, allocations: 179.7 kB / 1.025 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.228, allocations: 23.94 kB / 1.025 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.2284, allocations: 92.34 kB / 1.025 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.2284, allocations: 43.98 kB / 1.025 GB, free: 4.535 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.0001484/0.2286, allocations: 323.6 kB / 1.026 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.2287, allocations: 190.8 kB / 1.026 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.2289, allocations: 153.2 kB / 1.026 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2289, allocations: 4 kB / 1.026 GB, free: 3.871 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2289, allocations: 4 kB / 1.026 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2289, allocations: 0 / 1.026 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2303, allocations: 1.314 MB / 1.027 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2303, allocations: 4 kB / 1.027 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.2304, allocations: 43.91 kB / 1.027 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2304, allocations: 4 kB / 1.027 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2304, allocations: 16 kB / 1.027 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.2304, allocations: 11.92 kB / 1.027 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.2304, allocations: 11.94 kB / 1.027 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.2308, allocations: 0.4899 MB / 1.028 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.231, allocations: 218.6 kB / 1.028 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.2311, allocations: 8 kB / 1.028 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.2314, allocations: 27.98 kB / 1.028 GB, free: 1.512 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2314, allocations: 31.84 kB / 1.028 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2314, allocations: 8 kB / 1.028 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006466/0.2321, allocations: 0.859 MB / 1.029 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2321, allocations: 0 / 1.029 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001251/0.2333, allocations: 0.7445 MB / 1.03 GB, free: 15.84 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.0002629/0.2336, allocations: 163 kB / 1.03 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007413/0.2343, allocations: 0.5405 MB / 1.03 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2343, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.2344, allocations: 61.14 kB / 1.03 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.2361, allocations: 0.9369 MB / 1.031 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.239, allocations: 2.671 MB / 1.034 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2393, allocations: 402.9 kB / 1.034 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000833/0.2401, allocations: 323.6 kB / 1.035 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.2411, allocations: 0.7164 MB / 1.035 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of SimCode: time 1.253e-06/0.2411, allocations: 0 / 1.035 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of Templates: time 0.4346/0.6757, allocations: 32.38 MB / 1.067 GB, free: 131.2 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.0759297693148255]