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.00108/0.00108, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001826/0.001826, allocations: 173 kB / 23.49 MB, free: 1.059 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.31/2.31, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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 1.823e-06/1.823e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.619e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5852/0.5852, allocations: 186.7 MB / 1.06 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.5904, allocations: 4.233 MB / 1.065 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.5914, allocations: 43 kB / 1.065 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5926, allocations: 498.4 kB / 1.065 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.5954, allocations: 1.625 MB / 1.067 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.5979, allocations: 1.402 MB / 1.068 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.6003, allocations: 2.191 MB / 1.07 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.6014, allocations: 0.9149 MB / 1.071 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.6034, allocations: 1.505 MB / 1.073 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009082/0.6043, allocations: 0.7621 MB / 1.073 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.6046, allocations: 139.5 kB / 1.073 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.6062, allocations: 1.053 MB / 1.074 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.6065, allocations: 435.6 kB / 1.075 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006584/0.6071, allocations: 466.3 kB / 1.075 GB, free: 47.06 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.6097, allocations: 1.387 MB / 1.077 GB, free: 46.9 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6097, allocations: 0 / 1.077 GB, free: 46.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.165e-06/0.6097, allocations: 0 / 1.077 GB, free: 46.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.413e-05/0.6098, allocations: 4.188 kB / 1.077 GB, free: 46.9 MB / 1.01 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.002974/0.6128, allocations: 1.676 MB / 1.078 GB, free: 46.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6128, allocations: 11.03 kB / 1.078 GB, free: 46.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.6143, allocations: 365 kB / 1.079 GB, free: 45.97 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.6157, allocations: 0.8792 MB / 1.08 GB, free: 45.66 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.6157, allocations: 44.06 kB / 1.08 GB, free: 45.66 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.6158, allocations: 61.94 kB / 1.08 GB, free: 45.66 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.6166, allocations: 481.2 kB / 1.08 GB, free: 45.53 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6166, allocations: 0 / 1.08 GB, free: 45.53 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.6167, allocations: 16.56 kB / 1.08 GB, free: 45.53 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6167, allocations: 12.31 kB / 1.08 GB, free: 45.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.6172, allocations: 240.6 kB / 1.08 GB, free: 45.53 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.002914/0.6201, allocations: 1.66 MB / 1.082 GB, free: 45.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.6205, allocations: 219.3 kB / 1.082 GB, free: 45.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.6208, allocations: 152.7 kB / 1.082 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.621, allocations: 57.8 kB / 1.082 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6211, allocations: 47.2 kB / 1.082 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006337/0.6217, allocations: 185.4 kB / 1.083 GB, free: 45.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 7.123e-06/0.6217, allocations: 0 / 1.083 GB, free: 45.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.001221/0.6229, allocations: 0.5087 MB / 1.083 GB, free: 44.96 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.623, allocations: 56.84 kB / 1.083 GB, free: 44.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.6238, allocations: 0.9007 MB / 1.084 GB, free: 44.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.6239, allocations: 38.42 kB / 1.084 GB, free: 44.67 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.6241, allocations: 485.4 kB / 1.085 GB, free: 44.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.6242, allocations: 142.9 kB / 1.085 GB, free: 44.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.6244, allocations: 122.8 kB / 1.085 GB, free: 44.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.6244, allocations: 0.4894 MB / 1.085 GB, free: 43.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.6246, allocations: 89.67 kB / 1.085 GB, free: 43.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.625, allocations: 1.016 MB / 1.086 GB, free: 42.73 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.6254, allocations: 231.7 kB / 1.087 GB, free: 42.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6254, allocations: 3.188 kB / 1.087 GB, free: 42.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000594/0.626, allocations: 391.2 kB / 1.087 GB, free: 42.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.626, allocations: 9 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.626, allocations: 3.938 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.626, allocations: 3.375 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.6263, allocations: 100.1 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6263, allocations: 4.094 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.6268, allocations: 56.39 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.6269, allocations: 26.62 kB / 1.087 GB, free: 42.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002785/0.6272, allocations: 216.8 kB / 1.087 GB, free: 42.49 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003444/0.6275, allocations: 1.023 MB / 1.088 GB, free: 41.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003455/0.6278, allocations: 218.9 kB / 1.089 GB, free: 41.31 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.6278, allocations: 0 / 1.089 GB, free: 41.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.000579/0.6284, allocations: 405.6 kB / 1.089 GB, free: 41.22 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.6284, allocations: 9.188 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.6284, allocations: 5.969 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/0.6284, allocations: 2.625 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.6287, allocations: 101.8 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6287, allocations: 2.625 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.6292, allocations: 82.98 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.6293, allocations: 19.92 kB / 1.089 GB, free: 41.21 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (42): * Single equations (assignments): 42 * 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.0001335/0.6294, allocations: 296.1 kB / 1.089 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6295, allocations: 112.1 kB / 1.09 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.6302, allocations: 496.6 kB / 1.09 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6302, allocations: 5.5 kB / 1.09 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6302, allocations: 0.8438 kB / 1.09 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6302, allocations: 0 / 1.09 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.6319, allocations: 1.288 MB / 1.091 GB, free: 40.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6319, allocations: 3.875 kB / 1.091 GB, free: 40.42 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.6322, allocations: 99.55 kB / 1.091 GB, free: 40.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6322, allocations: 3.5 kB / 1.091 GB, free: 40.42 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6322, allocations: 22.38 kB / 1.091 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.6322, allocations: 2.844 kB / 1.091 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6322, allocations: 3.469 kB / 1.091 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.6331, allocations: 0.7436 MB / 1.092 GB, free: 40.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.6333, allocations: 192.5 kB / 1.092 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.6334, allocations: 15.56 kB / 1.092 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.6338, allocations: 33.41 kB / 1.092 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.6339, allocations: 48.91 kB / 1.092 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.6339, allocations: 20.08 kB / 1.092 GB, free: 40 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007861/0.6347, allocations: 0.6227 MB / 1.093 GB, free: 39.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6347, allocations: 0.7188 kB / 1.093 GB, free: 39.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009303/0.6356, allocations: 421.6 kB / 1.093 GB, free: 39.79 MB / 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.0003578/0.636, allocations: 204.7 kB / 1.094 GB, free: 39.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.6368, allocations: 444.4 kB / 1.094 GB, free: 39.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6368, allocations: 0.7812 kB / 1.094 GB, free: 39.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.6371, allocations: 168.3 kB / 1.094 GB, free: 39.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6383, allocations: 407 kB / 1.095 GB, free: 39.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.6409, allocations: 1.471 MB / 1.096 GB, free: 38.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.6411, allocations: 189.8 kB / 1.096 GB, free: 38.74 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000883/0.642, allocations: 244 kB / 1.096 GB, free: 38.72 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6423, allocations: 91.67 kB / 1.097 GB, free: 38.71 MB / 1.01 GB Notification: Performance of SimCode: time 2.495e-06/0.6423, allocations: 0.875 kB / 1.097 GB, free: 38.71 MB / 1.01 GB Notification: Performance of Templates: time 0.03139/0.6737, allocations: 21.46 MB / 1.118 GB, free: 36.7 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.762014030013233]