Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.001346/0.001346, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001477/0.001477, allocations: 215 kB / 23 MB, free: 4.965 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.429/3.429, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 74.23 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4983, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2526/0.7509, allocations: 175.4 MB / 1.498 GB, free: 0.957 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.7617, allocations: 4.828 MB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.7639, allocations: 51.56 kB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.7659, allocations: 0.5782 MB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.7721, allocations: 1.898 MB / 1.506 GB, free: 9.582 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.7776, allocations: 1.68 MB / 1.507 GB, free: 7.914 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.7827, allocations: 2.783 MB / 1.51 GB, free: 5.117 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.7849, allocations: 1.201 MB / 1.511 GB, free: 3.895 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.7885, allocations: 1.48 MB / 1.513 GB, free: 2.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.7908, allocations: 1.16 MB / 1.514 GB, free: 1.246 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.7912, allocations: 184 kB / 1.514 GB, free: 1.066 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.7942, allocations: 1.177 MB / 1.515 GB, free: 15.89 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.7949, allocations: 0.5335 MB / 1.516 GB, free: 15.35 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009713/0.7958, allocations: 0.6884 MB / 1.516 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.8, allocations: 2.441 MB / 1.519 GB, free: 12.21 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.8001, allocations: 4 kB / 1.519 GB, free: 12.21 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8001, allocations: 0 / 1.519 GB, free: 12.21 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.8001, allocations: 0 / 1.519 GB, free: 12.21 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.006058/0.8061, allocations: 1.983 MB / 1.521 GB, free: 10.18 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.8062, allocations: 8.031 kB / 1.521 GB, free: 10.18 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.8089, allocations: 382.8 kB / 1.521 GB, free: 9.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.8119, allocations: 1.261 MB / 1.522 GB, free: 8.504 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.812, allocations: 53.31 kB / 1.522 GB, free: 8.453 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.8122, allocations: 75.94 kB / 1.522 GB, free: 8.379 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.814, allocations: 0.8897 MB / 1.523 GB, free: 7.461 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.8141, allocations: 0 / 1.523 GB, free: 7.461 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.8141, allocations: 28 kB / 1.523 GB, free: 7.434 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.8142, allocations: 16 kB / 1.523 GB, free: 7.418 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.816, allocations: 0.8445 MB / 1.524 GB, free: 6.574 MB / 1.217 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.005956/0.822, allocations: 2.363 MB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.8235, allocations: 0.664 MB / 1.527 GB, free: 3.504 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008659/0.8244, allocations: 423.9 kB / 1.527 GB, free: 3.086 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/0.8248, allocations: 68.33 kB / 1.527 GB, free: 3.02 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.8248, allocations: 35 kB / 1.527 GB, free: 2.977 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001416/0.8262, allocations: 256 kB / 1.528 GB, free: 2.727 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 4.549e-06/0.8262, allocations: 0 / 1.528 GB, free: 2.727 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.003246/0.8295, allocations: 1.291 MB / 1.529 GB, free: 1.43 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.8295, allocations: 59.84 kB / 1.529 GB, free: 1.359 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.8322, allocations: 1.439 MB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.8323, allocations: 41.7 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/0.8328, allocations: 0.5221 MB / 1.531 GB, free: 15.34 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.833, allocations: 182.4 kB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.8333, allocations: 142 kB / 1.531 GB, free: 15.01 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.8335, allocations: 329.9 kB / 1.532 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/0.8343, allocations: 358.3 kB / 1.532 GB, free: 14.33 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.836, allocations: 1.493 MB / 1.533 GB, free: 12.52 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8376, allocations: 0.7511 MB / 1.534 GB, free: 11.76 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8376, allocations: 8 kB / 1.534 GB, free: 11.75 MB / 1.232 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002326/0.8399, allocations: 0.9286 MB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.84, allocations: 8 kB / 1.535 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.84, allocations: 3.938 kB / 1.535 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.84, allocations: 4 kB / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.8409, allocations: 139.8 kB / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.8409, allocations: 0 / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.8427, allocations: 117.1 kB / 1.535 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.8428, allocations: 31.95 kB / 1.535 GB, free: 10.52 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.844, allocations: 0.5632 MB / 1.536 GB, free: 9.957 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001685/0.8457, allocations: 1.501 MB / 1.537 GB, free: 8.129 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/0.8473, allocations: 0.7531 MB / 1.538 GB, free: 7.367 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.8473, allocations: 0 / 1.538 GB, free: 7.367 MB / 1.232 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.00228/0.8496, allocations: 0.9297 MB / 1.539 GB, free: 6.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8496, allocations: 4 kB / 1.539 GB, free: 6.426 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8496, allocations: 4 kB / 1.539 GB, free: 6.422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8496, allocations: 7.938 kB / 1.539 GB, free: 6.414 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.8504, allocations: 143.7 kB / 1.539 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8504, allocations: 0 / 1.539 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.8524, allocations: 171.8 kB / 1.539 GB, free: 6.105 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.8524, allocations: 27.95 kB / 1.539 GB, free: 6.078 MB / 1.232 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 (51): * Single equations (assignments): 51 * 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.0003253/0.8528, allocations: 212.2 kB / 1.54 GB, free: 5.863 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.853, allocations: 115.2 kB / 1.54 GB, free: 5.75 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.8556, allocations: 1.024 MB / 1.541 GB, free: 4.719 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.8556, allocations: 3.984 kB / 1.541 GB, free: 4.715 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8556, allocations: 0 / 1.541 GB, free: 4.715 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.8564, allocations: 239.1 kB / 1.541 GB, free: 4.48 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.8565, allocations: 12 kB / 1.541 GB, free: 4.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.8578, allocations: 79.89 kB / 1.541 GB, free: 4.391 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.8579, allocations: 40.48 kB / 1.541 GB, free: 4.348 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00238/0.8603, allocations: 0.9734 MB / 1.542 GB, free: 3.367 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002817/0.8631, allocations: 1.535 MB / 1.543 GB, free: 1.816 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007571/0.8639, allocations: 367.8 kB / 1.544 GB, free: 1.457 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001814/0.8657, allocations: 1.04 MB / 1.545 GB, free: 420 kB / 1.232 GB Notification: Performance of Backend: time 5.31e-07/0.8657, allocations: 3.938 kB / 1.545 GB, free: 416 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003602/0.8693, allocations: 1.161 MB / 1.546 GB, free: 15.24 MB / 1.248 GB Notification: Performance of SimCode: time 0.004487/0.8738, allocations: 2.476 MB / 1.548 GB, free: 12.71 MB / 1.248 GB Notification: Performance of Templates: time 0.05806/0.9318, allocations: 34.21 MB / 1.582 GB, free: 11.02 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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: 11.272002741003234]