Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001793/0.001793, allocations: 173 kB / 23.36 MB, free: 1.129 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.973/0.973, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.468/2.468, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0001375/0.0001375, allocations: 4 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/0.0001614, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.1553/0.1554, allocations: 159.1 MB / 0.994 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.1716, allocations: 10.57 MB / 1.004 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.1745, allocations: 111.1 kB / 1.004 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.004563/0.1791, allocations: 1.652 MB / 1.006 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.1843, allocations: 2.196 MB / 1.008 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.1887, allocations: 2.254 MB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.008866/0.1976, allocations: 7.793 MB / 1.018 GB, free: 5.828 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.1998, allocations: 1.467 MB / 1.019 GB, free: 4.305 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.2047, allocations: 2.806 MB / 1.022 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.2067, allocations: 1.094 MB / 1.023 GB, free: 440 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.2069, allocations: 188 kB / 1.023 GB, free: 252 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2085, allocations: 0.8226 MB / 1.024 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.2091, allocations: 0.775 MB / 1.025 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/0.21, allocations: 0.7717 MB / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.213, allocations: 2.153 MB / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.213, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.213, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.213, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.9948 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.002829/0.2158, allocations: 2.503 MB / 1.03 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2159, allocations: 8.625 kB / 1.03 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.2179, allocations: 0.6315 MB / 1.031 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007119/0.225, allocations: 4.434 MB / 1.035 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2251, allocations: 90.12 kB / 1.035 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.2253, allocations: 116 kB / 1.035 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.2268, allocations: 1.126 MB / 1.037 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.2268, allocations: 0 / 1.037 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.2269, allocations: 51.98 kB / 1.037 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.2269, allocations: 45.94 kB / 1.037 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.2275, allocations: 333.4 kB / 1.037 GB, free: 2.043 MB / 0.9948 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.005241/0.2327, allocations: 5.185 MB / 1.042 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.233, allocations: 118.5 kB / 1.042 GB, free: 12.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.2331, allocations: 44.83 kB / 1.042 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2332, allocations: 31.89 kB / 1.042 GB, free: 12.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2332, allocations: 34.56 kB / 1.042 GB, free: 12.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=18): time 4.178e-06/0.2332, allocations: 3.938 kB / 1.042 GB, free: 12.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=18): time 0.0006145/0.2339, allocations: 239.5 kB / 1.042 GB, free: 12.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2339, allocations: 55.41 kB / 1.042 GB, free: 12.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.2355, allocations: 1.437 MB / 1.044 GB, free: 10.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2355, allocations: 37.7 kB / 1.044 GB, free: 10.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.236, allocations: 0.7484 MB / 1.045 GB, free: 9.828 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.236, allocations: 79.41 kB / 1.045 GB, free: 9.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.2362, allocations: 170.4 kB / 1.045 GB, free: 9.574 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.2363, allocations: 345.9 kB / 1.045 GB, free: 9.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2365, allocations: 79.64 kB / 1.045 GB, free: 9.148 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.2369, allocations: 0.6489 MB / 1.046 GB, free: 8.238 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.2374, allocations: 0.6763 MB / 1.047 GB, free: 7.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.2375, allocations: 4 kB / 1.047 GB, free: 7.336 MB / 1.01 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000828/0.2383, allocations: 0.5975 MB / 1.047 GB, free: 6.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2383, allocations: 12 kB / 1.047 GB, free: 6.719 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2383, allocations: 16.81 kB / 1.047 GB, free: 6.703 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.2384, allocations: 20 kB / 1.047 GB, free: 6.684 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.2389, allocations: 199.6 kB / 1.047 GB, free: 6.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.2389, allocations: 35.86 kB / 1.047 GB, free: 6.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.2396, allocations: 148 kB / 1.048 GB, free: 6.309 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.2397, allocations: 40 kB / 1.048 GB, free: 6.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003667/0.2401, allocations: 171.8 kB / 1.048 GB, free: 6.098 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003964/0.2405, allocations: 0.645 MB / 1.048 GB, free: 5.199 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006276/0.2411, allocations: 0.6826 MB / 1.049 GB, free: 4.297 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.2411, allocations: 7.938 kB / 1.049 GB, free: 4.289 MB / 1.01 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.0007164/0.2418, allocations: 0.5862 MB / 1.05 GB, free: 3.695 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2418, allocations: 12 kB / 1.05 GB, free: 3.684 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2418, allocations: 16 kB / 1.05 GB, free: 3.668 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2419, allocations: 20 kB / 1.05 GB, free: 3.648 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.2423, allocations: 196.1 kB / 1.05 GB, free: 3.457 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.2423, allocations: 35.88 kB / 1.05 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.2429, allocations: 95.58 kB / 1.05 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.243, allocations: 43.94 kB / 1.05 GB, free: 3.285 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (97): * Single equations (assignments): 96 * 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.0001563/0.2431, allocations: 239.8 kB / 1.05 GB, free: 3.043 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.2433, allocations: 107.9 kB / 1.05 GB, free: 2.938 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2435, allocations: 149.5 kB / 1.051 GB, free: 2.793 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2435, allocations: 7.938 kB / 1.051 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2435, allocations: 0 / 1.051 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2435, allocations: 7.922 kB / 1.051 GB, free: 2.777 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.245, allocations: 0.9904 MB / 1.052 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.245, allocations: 4 kB / 1.052 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.2451, allocations: 43.91 kB / 1.052 GB, free: 1.656 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2451, allocations: 4 kB / 1.052 GB, free: 1.652 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.2451, allocations: 16.52 kB / 1.052 GB, free: 1.637 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.2451, allocations: 8 kB / 1.052 GB, free: 1.629 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2452, allocations: 7.938 kB / 1.052 GB, free: 1.621 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.2455, allocations: 333.4 kB / 1.052 GB, free: 1.223 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.2458, allocations: 174.7 kB / 1.052 GB, free: 1.051 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.2459, allocations: 11.98 kB / 1.052 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.2463, allocations: 31.98 kB / 1.052 GB, free: 1.008 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2464, allocations: 23.86 kB / 1.052 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2464, allocations: 11.98 kB / 1.052 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006956/0.2471, allocations: 0.7156 MB / 1.053 GB, free: 240 kB / 1.01 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2471, allocations: 0 / 1.053 GB, free: 240 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.4753/0.7224, allocations: 0.7451 MB / 1.054 GB, free: 80.39 MB / 1.01 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.0004157/0.7228, allocations: 145.2 kB / 1.054 GB, free: 80.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000919/0.7238, allocations: 0.5538 MB / 1.054 GB, free: 80.31 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.352e-05/0.7238, allocations: 24.94 kB / 1.054 GB, free: 80.31 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.7239, allocations: 63.11 kB / 1.054 GB, free: 80.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.726, allocations: 0.9401 MB / 1.055 GB, free: 80.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.7292, allocations: 2.68 MB / 1.058 GB, free: 78.85 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.7296, allocations: 393.9 kB / 1.058 GB, free: 78.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7306, allocations: 331.3 kB / 1.059 GB, free: 78.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.7318, allocations: 0.6217 MB / 1.059 GB, free: 78.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/0.7318, allocations: 1.062 kB / 1.059 GB, free: 78.61 MB / 1.01 GB Notification: Performance of Templates: time 0.04514/0.777, allocations: 32.75 MB / 1.091 GB, free: 75.57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.633656464051455]