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.001036/0.001036, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001044/0.001044, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.995/1.995, allocations: 377.9 MB / 0.6247 GB, free: 8.355 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.413e-06/1.413e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.904e-05, allocations: 10.25 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.1553/0.1553, allocations: 156.9 MB / 0.966 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.1702, allocations: 9.443 MB / 0.9752 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.173, allocations: 107.2 kB / 0.9753 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.1773, allocations: 1.648 MB / 0.9769 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.1824, allocations: 2.157 MB / 0.9791 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.1863, allocations: 1.969 MB / 0.981 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.009506/0.1958, allocations: 7.986 MB / 0.9888 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.1983, allocations: 1.428 MB / 0.9902 GB, free: 11.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/0.2037, allocations: 2.878 MB / 0.993 GB, free: 8.312 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.2059, allocations: 1.161 MB / 0.9941 GB, free: 7.148 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.2063, allocations: 184 kB / 0.9943 GB, free: 6.969 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.2079, allocations: 0.8188 MB / 0.9951 GB, free: 6.148 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007519/0.2086, allocations: 0.775 MB / 0.9958 GB, free: 5.371 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.2096, allocations: 0.7483 MB / 0.9966 GB, free: 4.621 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.2128, allocations: 2.141 MB / 0.9987 GB, free: 2.473 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2128, allocations: 0 / 0.9987 GB, free: 2.473 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2128, allocations: 0 / 0.9987 GB, free: 2.473 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.2128, allocations: 0 / 0.9987 GB, free: 2.473 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.002898/0.2157, allocations: 2.682 MB / 1.001 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2157, allocations: 12.75 kB / 1.001 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.2176, allocations: 0.72 MB / 1.002 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.2239, allocations: 5.335 MB / 1.007 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.224, allocations: 90.19 kB / 1.007 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2242, allocations: 108 kB / 1.007 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2255, allocations: 1.203 MB / 1.009 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.2256, allocations: 7.938 kB / 1.009 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.2256, allocations: 48 kB / 1.009 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.2257, allocations: 46 kB / 1.009 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.2263, allocations: 373.2 kB / 1.009 GB, free: 7.508 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.005901/0.2322, allocations: 7.57 MB / 1.016 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.2325, allocations: 159.2 kB / 1.017 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.2325, allocations: 43.66 kB / 1.017 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/0.2326, allocations: 16 kB / 1.017 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2327, allocations: 45.38 kB / 1.017 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/0.2327, allocations: 3.938 kB / 1.017 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0006582/0.2333, allocations: 346.8 kB / 1.017 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2334, allocations: 55.41 kB / 1.017 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.2348, allocations: 1.65 MB / 1.019 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.2349, allocations: 33.7 kB / 1.019 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/0.2356, allocations: 1.183 MB / 1.02 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.2357, allocations: 71.42 kB / 1.02 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.2358, allocations: 184.1 kB / 1.02 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.236, allocations: 0.512 MB / 1.021 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2361, allocations: 75.62 kB / 1.021 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.2365, allocations: 0.7756 MB / 1.021 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.237, allocations: 0.7632 MB / 1.022 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.237, allocations: 4 kB / 1.022 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008974/0.2379, allocations: 0.7081 MB / 1.023 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.238, allocations: 12 kB / 1.023 GB, free: 8.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.238, allocations: 12 kB / 1.023 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.238, allocations: 23.94 kB / 1.023 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.2384, allocations: 180.1 kB / 1.023 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.2384, allocations: 35.86 kB / 1.023 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.239, allocations: 123.2 kB / 1.023 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.2391, allocations: 39.98 kB / 1.023 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003795/0.2394, allocations: 208.8 kB / 1.023 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003826/0.2398, allocations: 0.7756 MB / 1.024 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004918/0.2403, allocations: 0.7671 MB / 1.025 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.2403, allocations: 4 kB / 1.025 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0007123/0.241, allocations: 0.6899 MB / 1.026 GB, free: 4.93 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.241, allocations: 15.94 kB / 1.026 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.241, allocations: 16.12 kB / 1.026 GB, free: 4.898 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2411, allocations: 20 kB / 1.026 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.2414, allocations: 175.7 kB / 1.026 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.2414, allocations: 35.84 kB / 1.026 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.2419, allocations: 92.23 kB / 1.026 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.242, allocations: 36 kB / 1.026 GB, free: 4.547 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.0001817/0.2422, allocations: 327.7 kB / 1.026 GB, free: 4.219 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2423, allocations: 190.8 kB / 1.027 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.2426, allocations: 149.1 kB / 1.027 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2426, allocations: 3.938 kB / 1.027 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2426, allocations: 0 / 1.027 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2426, allocations: 3.984 kB / 1.027 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.2442, allocations: 1.31 MB / 1.028 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2442, allocations: 8.125 kB / 1.028 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2443, allocations: 43.91 kB / 1.028 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2443, allocations: 4 kB / 1.028 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.2443, allocations: 11.98 kB / 1.028 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2443, allocations: 15.94 kB / 1.028 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2443, allocations: 4 kB / 1.028 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.2448, allocations: 0.495 MB / 1.029 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.245, allocations: 218.6 kB / 1.029 GB, free: 1.559 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2451, allocations: 4 kB / 1.029 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2454, allocations: 31.97 kB / 1.029 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.2455, allocations: 27.86 kB / 1.029 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2455, allocations: 11.98 kB / 1.029 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007951/0.2463, allocations: 0.8629 MB / 1.03 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2463, allocations: 4 kB / 1.03 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001449/0.2477, allocations: 0.7367 MB / 1.03 GB, free: 15.86 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.0002976/0.248, allocations: 166.3 kB / 1.031 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.2488, allocations: 0.5435 MB / 1.031 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2488, allocations: 0 / 1.031 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.2489, allocations: 59.47 kB / 1.031 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.2508, allocations: 0.9466 MB / 1.032 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.2542, allocations: 2.678 MB / 1.035 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2545, allocations: 394.9 kB / 1.035 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001018/0.2555, allocations: 319.6 kB / 1.035 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.2567, allocations: 0.7164 MB / 1.036 GB, free: 9.914 MB / 0.9948 GB Notification: Performance of SimCode: time 1.342e-06/0.2567, allocations: 4 kB / 1.036 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.4356/0.6924, allocations: 32.65 MB / 1.068 GB, free: 131.3 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.2613162896595895]