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.000837/0.000837, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009034/0.0009034, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8827/0.8827, allocations: 177.1 MB / 203.5 MB, free: 5.746 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 1.808/1.808, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.663e-06/1.663e-06, allocations: 3.938 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.691e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.582/0.582, allocations: 167.4 MB / 1.164 GB, free: 10.5 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.5878, allocations: 3.993 MB / 1.168 GB, free: 7.785 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.5883, allocations: 39.84 kB / 1.168 GB, free: 7.762 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.5894, allocations: 492.6 kB / 1.169 GB, free: 7.469 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.5921, allocations: 1.625 MB / 1.17 GB, free: 6.551 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.5945, allocations: 1.42 MB / 1.172 GB, free: 5.836 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.5966, allocations: 2.177 MB / 1.174 GB, free: 4.785 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.5976, allocations: 0.8683 MB / 1.175 GB, free: 4.367 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.5993, allocations: 1.506 MB / 1.176 GB, free: 3.664 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.6002, allocations: 0.7468 MB / 1.177 GB, free: 3.406 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6004, allocations: 139.2 kB / 1.177 GB, free: 3.406 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.6022, allocations: 1.053 MB / 1.178 GB, free: 3.074 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.6026, allocations: 432.3 kB / 1.179 GB, free: 2.832 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.6031, allocations: 466.3 kB / 1.179 GB, free: 2.609 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.6052, allocations: 2.016 MB / 1.181 GB, free: 1.879 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6052, allocations: 1.531 kB / 1.181 GB, free: 1.879 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6052, allocations: 0 / 1.181 GB, free: 1.879 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.6052, allocations: 3.938 kB / 1.181 GB, free: 1.875 MB / 1.026 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.002711/0.6079, allocations: 1.583 MB / 1.182 GB, free: 0.918 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.608, allocations: 10.91 kB / 1.182 GB, free: 0.918 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.6091, allocations: 306.7 kB / 1.183 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.6105, allocations: 0.9807 MB / 1.184 GB, free: 268 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.6105, allocations: 46.12 kB / 1.184 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-05/0.6106, allocations: 62.58 kB / 1.184 GB, free: 224 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.6116, allocations: 0.6959 MB / 1.185 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6116, allocations: 3.938 kB / 1.185 GB, free: 15.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.6116, allocations: 19.81 kB / 1.185 GB, free: 15.89 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6117, allocations: 12.66 kB / 1.185 GB, free: 15.89 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/0.6126, allocations: 0.6387 MB / 1.185 GB, free: 15.68 MB / 1.042 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.002605/0.6152, allocations: 1.841 MB / 1.187 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.6159, allocations: 0.4995 MB / 1.187 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/0.6164, allocations: 336.8 kB / 1.188 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.6166, allocations: 67.3 kB / 1.188 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.6166, allocations: 33.81 kB / 1.188 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004764/0.6171, allocations: 177.9 kB / 1.188 GB, free: 14.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=41): time 2.385e-06/0.6171, allocations: 0 / 1.188 GB, free: 14.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=41): time 0.001587/0.6187, allocations: 1.009 MB / 1.189 GB, free: 14.06 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6187, allocations: 59.81 kB / 1.189 GB, free: 14 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.6201, allocations: 1.129 MB / 1.19 GB, free: 13.52 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.6202, allocations: 39.55 kB / 1.19 GB, free: 13.48 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.6205, allocations: 434.2 kB / 1.191 GB, free: 13.14 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.6206, allocations: 147.2 kB / 1.191 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.6207, allocations: 115.3 kB / 1.191 GB, free: 12.97 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.6208, allocations: 322.8 kB / 1.191 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.6212, allocations: 279.6 kB / 1.191 GB, free: 12.56 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6222, allocations: 1.146 MB / 1.193 GB, free: 11.42 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.623, allocations: 0.5829 MB / 1.193 GB, free: 11.21 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.623, allocations: 0 / 1.193 GB, free: 11.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001028/0.624, allocations: 0.7303 MB / 1.194 GB, free: 10.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.624, allocations: 4.688 kB / 1.194 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.6241, allocations: 1.219 kB / 1.194 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6241, allocations: 1.188 kB / 1.194 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.6244, allocations: 111.6 kB / 1.194 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6244, allocations: 5.469 kB / 1.194 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.625, allocations: 92.78 kB / 1.194 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.625, allocations: 24.47 kB / 1.194 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005539/0.6256, allocations: 460.4 kB / 1.195 GB, free: 10.69 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006861/0.6263, allocations: 1.147 MB / 1.196 GB, free: 9.539 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007684/0.627, allocations: 0.5723 MB / 1.196 GB, free: 9.332 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.627, allocations: 0 / 1.196 GB, free: 9.332 MB / 1.042 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001016/0.628, allocations: 0.7209 MB / 1.197 GB, free: 9.066 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.628, allocations: 5.312 kB / 1.197 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.6281, allocations: 1.438 kB / 1.197 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.6281, allocations: 5.391 kB / 1.197 GB, free: 9.062 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.6284, allocations: 106.4 kB / 1.197 GB, free: 9.059 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6284, allocations: 2.406 kB / 1.197 GB, free: 9.059 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.629, allocations: 142.5 kB / 1.197 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.629, allocations: 23.91 kB / 1.197 GB, free: 9.031 MB / 1.042 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.0001318/0.6291, allocations: 202.1 kB / 1.197 GB, free: 8.836 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6293, allocations: 94.45 kB / 1.197 GB, free: 8.785 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.6304, allocations: 0.7983 MB / 1.198 GB, free: 8.375 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.6304, allocations: 5.156 kB / 1.198 GB, free: 8.375 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6304, allocations: 3.938 kB / 1.198 GB, free: 8.371 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.6304, allocations: 0 / 1.198 GB, free: 8.371 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.6325, allocations: 1.637 MB / 1.2 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6325, allocations: 2.75 kB / 1.2 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.6328, allocations: 107.4 kB / 1.2 GB, free: 7.262 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.6328, allocations: 3.75 kB / 1.2 GB, free: 7.262 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.6328, allocations: 10.56 kB / 1.2 GB, free: 7.258 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6328, allocations: 11.91 kB / 1.2 GB, free: 7.25 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6328, allocations: 3.312 kB / 1.2 GB, free: 7.25 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.6343, allocations: 1.238 MB / 1.201 GB, free: 6.504 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.6346, allocations: 193.9 kB / 1.201 GB, free: 6.355 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.6347, allocations: 9.5 kB / 1.201 GB, free: 6.352 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.6351, allocations: 67.69 kB / 1.201 GB, free: 6.316 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.6352, allocations: 51.7 kB / 1.202 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.6353, allocations: 14 kB / 1.202 GB, free: 6.281 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0008347/0.6361, allocations: 0.8235 MB / 1.202 GB, free: 5.812 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6361, allocations: 0 / 1.202 GB, free: 5.812 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007792/0.6369, allocations: 412.9 kB / 1.203 GB, free: 5.734 MB / 1.042 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.0003046/0.6372, allocations: 204.5 kB / 1.203 GB, free: 5.594 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6384, allocations: 0.899 MB / 1.204 GB, free: 5.176 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6384, allocations: 2.656 kB / 1.204 GB, free: 5.176 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.6388, allocations: 323.3 kB / 1.204 GB, free: 5.027 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.6398, allocations: 363.9 kB / 1.204 GB, free: 4.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6418, allocations: 1.614 MB / 1.206 GB, free: 3.805 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.6421, allocations: 436.2 kB / 1.206 GB, free: 3.551 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.6423, allocations: 93.78 kB / 1.207 GB, free: 3.52 MB / 1.042 GB Notification: Performance of SimCode: time 7.81e-07/0.6423, allocations: 0 / 1.207 GB, free: 3.52 MB / 1.042 GB Notification: Performance of Templates: time 0.01312/0.6555, allocations: 15.7 MB / 1.222 GB, free: 8.879 MB / 1.057 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.782865152694285]