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.001991/0.001991, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002346/0.002346, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.231/3.231, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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.002056/0.002056, allocations: 65.52 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2265/0.6053, allocations: 193.5 MB / 1.543 GB, free: 5.691 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.007893/0.6132, allocations: 4.257 MB / 1.547 GB, free: 1.43 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6142, allocations: 43.56 kB / 1.547 GB, free: 1.387 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.6157, allocations: 0.5085 MB / 1.548 GB, free: 0.875 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.6197, allocations: 1.62 MB / 1.549 GB, free: 15.25 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.6234, allocations: 1.385 MB / 1.551 GB, free: 13.87 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.6267, allocations: 2.225 MB / 1.553 GB, free: 11.64 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.6281, allocations: 0.9093 MB / 1.554 GB, free: 10.72 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.6305, allocations: 1.215 MB / 1.555 GB, free: 9.504 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.6319, allocations: 0.8756 MB / 1.556 GB, free: 8.625 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.6321, allocations: 143.9 kB / 1.556 GB, free: 8.484 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.6346, allocations: 1.29 MB / 1.557 GB, free: 7.191 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.6351, allocations: 426.6 kB / 1.558 GB, free: 6.773 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007762/0.6359, allocations: 0.6337 MB / 1.558 GB, free: 6.137 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.6386, allocations: 1.946 MB / 1.56 GB, free: 4.184 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6386, allocations: 0 / 1.56 GB, free: 4.184 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6386, allocations: 0 / 1.56 GB, free: 4.184 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.6386, allocations: 0 / 1.56 GB, free: 4.184 MB / 1.248 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.00429/0.6429, allocations: 1.616 MB / 1.562 GB, free: 2.531 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.643, allocations: 8.031 kB / 1.562 GB, free: 2.523 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.6449, allocations: 303 kB / 1.562 GB, free: 2.227 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.6469, allocations: 0.9916 MB / 1.563 GB, free: 1.195 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.6469, allocations: 41 kB / 1.563 GB, free: 1.152 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.6471, allocations: 59.94 kB / 1.563 GB, free: 1.094 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6484, allocations: 0.631 MB / 1.564 GB, free: 472 kB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6484, allocations: 0 / 1.564 GB, free: 472 kB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.6485, allocations: 20 kB / 1.564 GB, free: 452 kB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6485, allocations: 11.98 kB / 1.564 GB, free: 440 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.6499, allocations: 0.6364 MB / 1.564 GB, free: 15.79 MB / 1.264 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.004447/0.6543, allocations: 2.57 MB / 1.567 GB, free: 13.08 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6555, allocations: 0.5063 MB / 1.567 GB, free: 12.57 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.6562, allocations: 340.5 kB / 1.568 GB, free: 12.23 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.6565, allocations: 68.02 kB / 1.568 GB, free: 12.16 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.6565, allocations: 38.5 kB / 1.568 GB, free: 12.12 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008889/0.6574, allocations: 187.7 kB / 1.568 GB, free: 11.93 MB / 1.264 GB Notification: Performance of pre-optimization done (n=41): time 2.515e-06/0.6574, allocations: 0 / 1.568 GB, free: 11.93 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.002465/0.6599, allocations: 1.024 MB / 1.569 GB, free: 10.9 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.66, allocations: 59.41 kB / 1.569 GB, free: 10.83 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.6619, allocations: 1.229 MB / 1.57 GB, free: 9.582 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.662, allocations: 41.7 kB / 1.57 GB, free: 9.535 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.6624, allocations: 417.9 kB / 1.571 GB, free: 9.125 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6625, allocations: 146.7 kB / 1.571 GB, free: 8.98 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.6627, allocations: 117.4 kB / 1.571 GB, free: 8.859 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6629, allocations: 322 kB / 1.571 GB, free: 8.539 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.6635, allocations: 280.6 kB / 1.571 GB, free: 8.262 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.6643, allocations: 477.2 kB / 1.572 GB, free: 7.719 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.6656, allocations: 0.5831 MB / 1.572 GB, free: 7.133 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6656, allocations: 3.938 kB / 1.572 GB, free: 7.129 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002365/0.668, allocations: 0.7306 MB / 1.573 GB, free: 6.391 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.668, allocations: 8 kB / 1.573 GB, free: 6.383 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.668, allocations: 0 / 1.573 GB, free: 6.383 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.6681, allocations: 4 kB / 1.573 GB, free: 6.379 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.6689, allocations: 107.8 kB / 1.573 GB, free: 6.273 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6689, allocations: 0 / 1.573 GB, free: 6.273 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.6705, allocations: 99.86 kB / 1.573 GB, free: 6.176 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.6706, allocations: 23.97 kB / 1.573 GB, free: 6.152 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008658/0.6714, allocations: 459.8 kB / 1.574 GB, free: 5.699 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008195/0.6723, allocations: 487.3 kB / 1.574 GB, free: 5.145 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001171/0.6734, allocations: 0.5643 MB / 1.575 GB, free: 4.574 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.6734, allocations: 0 / 1.575 GB, free: 4.574 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001566/0.675, allocations: 0.7392 MB / 1.576 GB, free: 3.828 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.675, allocations: 7.938 kB / 1.576 GB, free: 3.82 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.675, allocations: 0 / 1.576 GB, free: 3.82 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.271e-06/0.675, allocations: 4 kB / 1.576 GB, free: 3.816 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.6756, allocations: 107.8 kB / 1.576 GB, free: 3.711 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.6756, allocations: 0 / 1.576 GB, free: 3.711 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6769, allocations: 136.2 kB / 1.576 GB, free: 3.578 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.6769, allocations: 27.95 kB / 1.576 GB, free: 3.551 MB / 1.264 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.0002228/0.6771, allocations: 204.1 kB / 1.576 GB, free: 3.344 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.6773, allocations: 107.3 kB / 1.576 GB, free: 3.238 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.6792, allocations: 0.7986 MB / 1.577 GB, free: 2.43 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.6792, allocations: 8 kB / 1.577 GB, free: 2.422 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6792, allocations: 0 / 1.577 GB, free: 2.422 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6792, allocations: 3.984 kB / 1.577 GB, free: 2.418 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.6825, allocations: 1.888 MB / 1.579 GB, free: 460 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6825, allocations: 4 kB / 1.579 GB, free: 456 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.6831, allocations: 112.1 kB / 1.579 GB, free: 344 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.6831, allocations: 4 kB / 1.579 GB, free: 340 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.6831, allocations: 16 kB / 1.579 GB, free: 324 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/0.6831, allocations: 7.984 kB / 1.579 GB, free: 316 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6832, allocations: 7.875 kB / 1.579 GB, free: 308 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.6854, allocations: 1.236 MB / 1.58 GB, free: 15.03 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.6859, allocations: 207.2 kB / 1.58 GB, free: 14.82 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6861, allocations: 20.06 kB / 1.58 GB, free: 14.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009425/0.687, allocations: 55.92 kB / 1.58 GB, free: 14.75 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6871, allocations: 59.78 kB / 1.58 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.6872, allocations: 19.98 kB / 1.581 GB, free: 14.67 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001457/0.6886, allocations: 0.8883 MB / 1.581 GB, free: 13.77 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6886, allocations: 0 / 1.581 GB, free: 13.77 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001143/0.6898, allocations: 395.5 kB / 1.582 GB, free: 13.39 MB / 1.279 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.0003675/0.6902, allocations: 199 kB / 1.582 GB, free: 13.18 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.6923, allocations: 0.905 MB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6923, allocations: 0 / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.6929, allocations: 316.2 kB / 1.583 GB, free: 11.96 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6948, allocations: 450.7 kB / 1.584 GB, free: 11.54 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.6976, allocations: 1.674 MB / 1.585 GB, free: 9.793 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.6984, allocations: 1.022 MB / 1.586 GB, free: 8.746 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.6989, allocations: 99.38 kB / 1.586 GB, free: 8.648 MB / 1.279 GB Notification: Performance of SimCode: time 9.11e-07/0.6989, allocations: 0 / 1.586 GB, free: 8.648 MB / 1.279 GB Notification: Performance of Templates: time 0.02589/0.7248, allocations: 16.25 MB / 1.602 GB, free: 8.527 MB / 1.295 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: 15.302952641999582]