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.001657/0.001657, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001985/0.001985, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.304/3.304, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002132/0.002132, allocations: 64.48 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3834, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2207/0.604, allocations: 167.6 MB / 1.528 GB, free: 5.359 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008585/0.6126, allocations: 4.022 MB / 1.532 GB, free: 1.328 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.614, allocations: 43.62 kB / 1.532 GB, free: 1.285 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.6157, allocations: 488.7 kB / 1.533 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.6203, allocations: 1.597 MB / 1.534 GB, free: 15.2 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.6241, allocations: 1.358 MB / 1.536 GB, free: 13.86 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.6275, allocations: 2.221 MB / 1.538 GB, free: 11.63 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.629, allocations: 0.9015 MB / 1.539 GB, free: 10.71 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.6314, allocations: 1.207 MB / 1.54 GB, free: 9.5 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6327, allocations: 0.8287 MB / 1.541 GB, free: 8.668 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.6329, allocations: 136 kB / 1.541 GB, free: 8.535 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.6351, allocations: 1.037 MB / 1.542 GB, free: 7.496 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.6355, allocations: 418.6 kB / 1.542 GB, free: 7.086 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.6362, allocations: 0.5328 MB / 1.543 GB, free: 6.551 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.6394, allocations: 1.946 MB / 1.545 GB, free: 4.598 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6394, allocations: 0 / 1.545 GB, free: 4.598 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6394, allocations: 0 / 1.545 GB, free: 4.598 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6394, allocations: 0 / 1.545 GB, free: 4.598 MB / 1.232 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.004359/0.6438, allocations: 1.601 MB / 1.546 GB, free: 2.961 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6438, allocations: 8.031 kB / 1.546 GB, free: 2.953 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.6457, allocations: 319 kB / 1.546 GB, free: 2.641 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.6479, allocations: 0.9799 MB / 1.547 GB, free: 1.617 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.6479, allocations: 45 kB / 1.547 GB, free: 1.574 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.648, allocations: 59.94 kB / 1.548 GB, free: 1.516 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.6495, allocations: 0.7063 MB / 1.548 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6495, allocations: 0 / 1.548 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.6495, allocations: 20 kB / 1.548 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6496, allocations: 12 kB / 1.548 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.6509, allocations: 0.6363 MB / 1.549 GB, free: 124 kB / 1.232 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.003788/0.6547, allocations: 1.854 MB / 1.551 GB, free: 14.23 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.6559, allocations: 0.4985 MB / 1.551 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.6566, allocations: 336.6 kB / 1.552 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.6569, allocations: 59.95 kB / 1.552 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.6569, allocations: 42.5 kB / 1.552 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000827/0.6578, allocations: 179.8 kB / 1.552 GB, free: 13.11 MB / 1.248 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.6578, allocations: 0 / 1.552 GB, free: 13.11 MB / 1.248 GB Notification: Performance of matching and sorting (n=41): time 0.002518/0.6603, allocations: 1.015 MB / 1.553 GB, free: 12.09 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6603, allocations: 55.41 kB / 1.553 GB, free: 12.02 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.6622, allocations: 1.131 MB / 1.554 GB, free: 10.86 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.6622, allocations: 37.7 kB / 1.554 GB, free: 10.82 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.6626, allocations: 433.2 kB / 1.554 GB, free: 10.39 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.6628, allocations: 142.7 kB / 1.555 GB, free: 10.25 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.663, allocations: 117.4 kB / 1.555 GB, free: 10.13 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6631, allocations: 322 kB / 1.555 GB, free: 9.812 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/0.6638, allocations: 272.7 kB / 1.555 GB, free: 9.543 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.665, allocations: 1.15 MB / 1.556 GB, free: 8.152 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.6663, allocations: 0.575 MB / 1.557 GB, free: 7.574 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6663, allocations: 0 / 1.557 GB, free: 7.574 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001652/0.668, allocations: 0.7343 MB / 1.558 GB, free: 6.832 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.668, allocations: 9.969 kB / 1.558 GB, free: 6.824 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.668, allocations: 3.938 kB / 1.558 GB, free: 6.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.668, allocations: 7.984 kB / 1.558 GB, free: 6.812 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.6687, allocations: 103.8 kB / 1.558 GB, free: 6.711 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6687, allocations: 0 / 1.558 GB, free: 6.711 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6698, allocations: 99.88 kB / 1.558 GB, free: 6.613 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.6698, allocations: 19.97 kB / 1.558 GB, free: 6.594 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000917/0.6707, allocations: 463.9 kB / 1.558 GB, free: 6.137 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001236/0.672, allocations: 1.144 MB / 1.559 GB, free: 4.746 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001258/0.6732, allocations: 0.5686 MB / 1.56 GB, free: 4.172 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.6732, allocations: 0 / 1.56 GB, free: 4.172 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001616/0.6749, allocations: 0.7194 MB / 1.561 GB, free: 3.445 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6749, allocations: 11.94 kB / 1.561 GB, free: 3.434 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6749, allocations: 3.938 kB / 1.561 GB, free: 3.43 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-06/0.6749, allocations: 3.938 kB / 1.561 GB, free: 3.426 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.6754, allocations: 107.8 kB / 1.561 GB, free: 3.32 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6755, allocations: 4 kB / 1.561 GB, free: 3.316 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.6767, allocations: 136.2 kB / 1.561 GB, free: 3.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.6768, allocations: 27.97 kB / 1.561 GB, free: 3.156 MB / 1.248 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.000232/0.677, allocations: 204.2 kB / 1.561 GB, free: 2.949 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.6772, allocations: 99.33 kB / 1.561 GB, free: 2.852 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.679, allocations: 0.794 MB / 1.562 GB, free: 2.051 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.679, allocations: 8 kB / 1.562 GB, free: 2.043 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.679, allocations: 0 / 1.562 GB, free: 2.043 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6791, allocations: 3.984 kB / 1.562 GB, free: 2.039 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.6823, allocations: 1.637 MB / 1.564 GB, free: 344 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.6823, allocations: 0 / 1.564 GB, free: 344 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.6828, allocations: 107.9 kB / 1.564 GB, free: 236 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6828, allocations: 4 kB / 1.564 GB, free: 232 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.6829, allocations: 23.92 kB / 1.564 GB, free: 208 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6829, allocations: 4 kB / 1.564 GB, free: 204 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6829, allocations: 4 kB / 1.564 GB, free: 200 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.6853, allocations: 1.236 MB / 1.565 GB, free: 14.91 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.6858, allocations: 195.2 kB / 1.565 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.6859, allocations: 16 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009218/0.6868, allocations: 59.92 kB / 1.565 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6869, allocations: 47.8 kB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.687, allocations: 24 kB / 1.565 GB, free: 14.57 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001362/0.6883, allocations: 0.8273 MB / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6883, allocations: 0 / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00114/0.6895, allocations: 411.2 kB / 1.566 GB, free: 13.33 MB / 1.264 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.0003826/0.6899, allocations: 198.9 kB / 1.567 GB, free: 13.13 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.692, allocations: 0.9004 MB / 1.568 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.692, allocations: 4 kB / 1.568 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.6927, allocations: 320.1 kB / 1.568 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6945, allocations: 373 kB / 1.568 GB, free: 11.55 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.6971, allocations: 1.659 MB / 1.57 GB, free: 9.828 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.6976, allocations: 436.9 kB / 1.57 GB, free: 9.363 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.698, allocations: 95.38 kB / 1.57 GB, free: 9.27 MB / 1.264 GB Notification: Performance of SimCode: time 8.42e-07/0.698, allocations: 0 / 1.57 GB, free: 9.27 MB / 1.264 GB Notification: Performance of Templates: time 0.02708/0.7251, allocations: 15.85 MB / 1.586 GB, free: 9.543 MB / 1.279 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/jenkins1/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: 14.16002825461328]