Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.001077/0.001077, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001136/0.001136, allocations: 173 kB / 23.02 MB, free: 1.547 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.9193/0.9193, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.082/2.082, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.935e-05/4.174e-05, allocations: 6.359 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1644/0.1645, allocations: 150 MB / 1.025 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006795/0.1713, allocations: 3.258 MB / 1.028 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1725, allocations: 39.62 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009633/0.1734, allocations: 245.9 kB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.1761, allocations: 0.9792 MB / 1.029 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.1787, allocations: 1.013 MB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.1821, allocations: 2.158 MB / 1.032 GB, free: 8.074 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.1838, allocations: 0.9263 MB / 1.033 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1862, allocations: 1.247 MB / 1.034 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1876, allocations: 0.7401 MB / 1.035 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.1881, allocations: 132 kB / 1.035 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.1895, allocations: 0.5848 MB / 1.036 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.1899, allocations: 426.6 kB / 1.036 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.1906, allocations: 446.9 kB / 1.037 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.1927, allocations: 1.226 MB / 1.038 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1927, allocations: 0 / 1.038 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1927, allocations: 0 / 1.038 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.901e-05/0.1928, allocations: 0 / 1.038 GB, free: 2.344 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.003272/0.1961, allocations: 1.619 MB / 1.039 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.1961, allocations: 12.03 kB / 1.039 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1973, allocations: 339.8 kB / 1.04 GB, free: 344 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1987, allocations: 0.8949 MB / 1.041 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1987, allocations: 41 kB / 1.041 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.1988, allocations: 56 kB / 1.041 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.1995, allocations: 479.4 kB / 1.041 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1995, allocations: 0 / 1.041 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.1996, allocations: 16 kB / 1.041 GB, free: 14.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1996, allocations: 12 kB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.2, allocations: 245.8 kB / 1.041 GB, free: 14.54 MB / 1.01 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.002585/0.2026, allocations: 1.638 MB / 1.043 GB, free: 12.87 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.203, allocations: 223.1 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2032, allocations: 142.4 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.2034, allocations: 31.92 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2035, allocations: 45.33 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000488/0.204, allocations: 187.7 kB / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 5.982e-06/0.204, allocations: 0 / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.001059/0.205, allocations: 0.504 MB / 1.044 GB, free: 11.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2051, allocations: 55.41 kB / 1.044 GB, free: 11.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009685/0.2061, allocations: 0.9029 MB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.2061, allocations: 37.7 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.2064, allocations: 487.9 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2065, allocations: 154.8 kB / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2067, allocations: 119.9 kB / 1.046 GB, free: 9.914 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.207, allocations: 0.4964 MB / 1.046 GB, free: 9.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.2072, allocations: 93.59 kB / 1.046 GB, free: 9.316 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.2077, allocations: 1.047 MB / 1.047 GB, free: 7.984 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.2082, allocations: 267.5 kB / 1.048 GB, free: 7.707 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2082, allocations: 0 / 1.048 GB, free: 7.707 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006576/0.2088, allocations: 420.5 kB / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.2088, allocations: 4 kB / 1.048 GB, free: 7.285 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2089, allocations: 4 kB / 1.048 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2089, allocations: 0 / 1.048 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.2092, allocations: 103.8 kB / 1.048 GB, free: 7.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.2092, allocations: 4 kB / 1.048 GB, free: 7.176 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2097, allocations: 59.98 kB / 1.048 GB, free: 7.117 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.2098, allocations: 27.97 kB / 1.048 GB, free: 7.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002846/0.21, allocations: 226.2 kB / 1.048 GB, free: 6.867 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005687/0.2106, allocations: 1.04 MB / 1.049 GB, free: 5.539 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003709/0.211, allocations: 254.8 kB / 1.05 GB, free: 5.27 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.211, allocations: 7.984 kB / 1.05 GB, free: 5.262 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000644/0.2116, allocations: 426 kB / 1.05 GB, free: 4.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2116, allocations: 8 kB / 1.05 GB, free: 4.832 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2116, allocations: 0 / 1.05 GB, free: 4.832 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.2117, allocations: 4 kB / 1.05 GB, free: 4.828 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.2119, allocations: 103.8 kB / 1.05 GB, free: 4.727 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.212, allocations: 4 kB / 1.05 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.2124, allocations: 84.55 kB / 1.05 GB, free: 4.641 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.2124, allocations: 27.97 kB / 1.05 GB, free: 4.613 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0001885/0.2126, allocations: 296.2 kB / 1.051 GB, free: 4.316 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.2128, allocations: 115.3 kB / 1.051 GB, free: 4.203 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007539/0.2135, allocations: 490.9 kB / 1.051 GB, free: 3.723 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2135, allocations: 4 kB / 1.051 GB, free: 3.719 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2135, allocations: 0 / 1.051 GB, free: 3.719 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2136, allocations: 3.984 kB / 1.051 GB, free: 3.715 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2152, allocations: 1.274 MB / 1.052 GB, free: 2.359 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2152, allocations: 4 kB / 1.052 GB, free: 2.355 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.2155, allocations: 99.81 kB / 1.053 GB, free: 2.258 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2156, allocations: 4 kB / 1.053 GB, free: 2.254 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.2156, allocations: 19.94 kB / 1.053 GB, free: 2.234 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2156, allocations: 4 kB / 1.053 GB, free: 2.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2156, allocations: 7.938 kB / 1.053 GB, free: 2.223 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2166, allocations: 0.7318 MB / 1.053 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.2169, allocations: 195.2 kB / 1.053 GB, free: 1.242 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.217, allocations: 19.98 kB / 1.053 GB, free: 1.223 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2173, allocations: 27.98 kB / 1.053 GB, free: 1.195 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2174, allocations: 51.8 kB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2175, allocations: 16 kB / 1.054 GB, free: 1.129 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006347/0.2181, allocations: 0.6128 MB / 1.054 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2181, allocations: 0 / 1.054 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008873/0.219, allocations: 411.3 kB / 1.055 GB, free: 104 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.5178/0.7368, allocations: 170.3 kB / 1.055 GB, free: 79.22 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.738, allocations: 456.3 kB / 1.055 GB, free: 79.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.738, allocations: 0 / 1.055 GB, free: 79.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.7382, allocations: 174.2 kB / 1.055 GB, free: 79.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.7398, allocations: 408.3 kB / 1.056 GB, free: 79.17 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.7425, allocations: 1.462 MB / 1.057 GB, free: 78.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.7426, allocations: 195.1 kB / 1.057 GB, free: 78.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.7435, allocations: 237.5 kB / 1.058 GB, free: 78.33 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.7438, allocations: 93.77 kB / 1.058 GB, free: 78.33 MB / 1.01 GB Notification: Performance of SimCode: time 3.556e-06/0.7438, allocations: 2.688 kB / 1.058 GB, free: 78.33 MB / 1.01 GB Notification: Performance of Templates: time 0.04177/0.7856, allocations: 21.85 MB / 1.079 GB, free: 76.52 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.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.815324882045388]