Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 198 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9569, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2683/1.225, allocations: 190.7 MB / 1.46 GB, free: 5.156 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008314/1.234, allocations: 4.312 MB / 1.464 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/1.235, allocations: 31.81 kB / 1.464 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/1.236, allocations: 0.5123 MB / 1.465 GB, free: 300 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/1.241, allocations: 1.622 MB / 1.467 GB, free: 14.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/1.246, allocations: 1.364 MB / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.25, allocations: 2.281 MB / 1.47 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/1.252, allocations: 0.9244 MB / 1.471 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/1.254, allocations: 0.9694 MB / 1.472 GB, free: 9.105 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.255, allocations: 0.9184 MB / 1.473 GB, free: 8.184 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/1.255, allocations: 144 kB / 1.473 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/1.258, allocations: 1.298 MB / 1.474 GB, free: 6.742 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/1.258, allocations: 434.5 kB / 1.475 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007287/1.259, allocations: 0.6492 MB / 1.475 GB, free: 5.664 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/1.262, allocations: 2.001 MB / 1.477 GB, free: 3.656 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.262, allocations: 0 / 1.477 GB, free: 3.656 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.974e-06/1.262, allocations: 0 / 1.477 GB, free: 3.656 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.832e-05/1.262, allocations: 0 / 1.477 GB, free: 3.656 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004744/1.267, allocations: 1.727 MB / 1.479 GB, free: 1.875 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.267, allocations: 8.031 kB / 1.479 GB, free: 1.867 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/1.268, allocations: 191.1 kB / 1.479 GB, free: 1.68 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/1.27, allocations: 1.089 MB / 1.48 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/1.27, allocations: 41 kB / 1.48 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.27, allocations: 67.94 kB / 1.48 GB, free: 436 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.271, allocations: 0.6271 MB / 1.481 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.271, allocations: 0 / 1.481 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/1.271, allocations: 20 kB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.272, allocations: 21 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/1.273, allocations: 0.648 MB / 1.482 GB, free: 15.1 MB / 1.186 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.004824/1.278, allocations: 2.67 MB / 1.484 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.279, allocations: 0.4982 MB / 1.485 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006766/1.28, allocations: 341.3 kB / 1.485 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/1.28, allocations: 295.2 kB / 1.485 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.28, allocations: 50.44 kB / 1.485 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001019/1.281, allocations: 183.6 kB / 1.486 GB, free: 10.87 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/1.281, allocations: 0 / 1.486 GB, free: 10.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=43): time 0.002583/1.284, allocations: 1.031 MB / 1.487 GB, free: 9.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.284, allocations: 55.41 kB / 1.487 GB, free: 9.766 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.286, allocations: 1.267 MB / 1.488 GB, free: 8.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/1.286, allocations: 41.7 kB / 1.488 GB, free: 8.434 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/1.287, allocations: 438 kB / 1.488 GB, free: 8.004 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/1.287, allocations: 150.7 kB / 1.488 GB, free: 7.855 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/1.287, allocations: 126 kB / 1.489 GB, free: 7.727 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.287, allocations: 318 kB / 1.489 GB, free: 7.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/1.288, allocations: 270.2 kB / 1.489 GB, free: 7.145 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/1.289, allocations: 0.4931 MB / 1.49 GB, free: 6.574 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.29, allocations: 0.5755 MB / 1.49 GB, free: 5.996 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.29, allocations: 4 kB / 1.49 GB, free: 5.992 MB / 1.186 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001858/1.292, allocations: 0.7459 MB / 1.491 GB, free: 5.238 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.292, allocations: 4 kB / 1.491 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.292, allocations: 0 / 1.491 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.292, allocations: 8 kB / 1.491 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/1.293, allocations: 115.8 kB / 1.491 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.293, allocations: 4 kB / 1.491 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.294, allocations: 99.86 kB / 1.491 GB, free: 5.012 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/1.294, allocations: 19.97 kB / 1.491 GB, free: 4.992 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009272/1.295, allocations: 467.8 kB / 1.492 GB, free: 4.531 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008625/1.296, allocations: 486.2 kB / 1.492 GB, free: 3.977 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/1.297, allocations: 0.5798 MB / 1.493 GB, free: 3.391 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/1.297, allocations: 3.984 kB / 1.493 GB, free: 3.387 MB / 1.186 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001758/1.299, allocations: 0.7399 MB / 1.493 GB, free: 2.641 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.299, allocations: 7.938 kB / 1.493 GB, free: 2.633 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.299, allocations: 8 kB / 1.493 GB, free: 2.625 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/1.299, allocations: 0 / 1.493 GB, free: 2.625 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/1.299, allocations: 127.8 kB / 1.493 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.299, allocations: 0 / 1.493 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.301, allocations: 132.2 kB / 1.494 GB, free: 2.371 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/1.301, allocations: 19.97 kB / 1.494 GB, free: 2.352 MB / 1.186 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 (45): * Single equations (assignments): 45 * 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.0002869/1.301, allocations: 208.2 kB / 1.494 GB, free: 2.141 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/1.301, allocations: 107.3 kB / 1.494 GB, free: 2.035 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/1.303, allocations: 0.8031 MB / 1.495 GB, free: 1.223 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.303, allocations: 12 kB / 1.495 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.303, allocations: 4 kB / 1.495 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/1.303, allocations: 0 / 1.495 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/1.307, allocations: 1.961 MB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.307, allocations: 4.062 kB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/1.308, allocations: 107.9 kB / 1.497 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.308, allocations: 4 kB / 1.497 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/1.308, allocations: 16 kB / 1.497 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.308, allocations: 7.938 kB / 1.497 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.308, allocations: 11.88 kB / 1.497 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/1.31, allocations: 1.229 MB / 1.498 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/1.311, allocations: 304.1 kB / 1.498 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.311, allocations: 16.06 kB / 1.498 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.312, allocations: 59.86 kB / 1.498 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.312, allocations: 43.94 kB / 1.498 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/1.312, allocations: 20 kB / 1.498 GB, free: 13.29 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001618/1.313, allocations: 0.9208 MB / 1.499 GB, free: 12.36 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.313, allocations: 0 / 1.499 GB, free: 12.36 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001322/1.315, allocations: 403.5 kB / 1.5 GB, free: 11.96 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0005855/1.315, allocations: 223.7 kB / 1.5 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.318, allocations: 0.905 MB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.318, allocations: 0 / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/1.318, allocations: 324.1 kB / 1.501 GB, free: 10.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.32, allocations: 436.4 kB / 1.502 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/1.323, allocations: 1.716 MB / 1.503 GB, free: 8.324 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/1.324, allocations: 1.041 MB / 1.504 GB, free: 7.254 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00103/1.325, allocations: 287.1 kB / 1.504 GB, free: 6.969 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.326, allocations: 99.38 kB / 1.505 GB, free: 6.871 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.326, allocations: 4 kB / 1.505 GB, free: 6.867 MB / 1.201 GB Notification: Performance of Templates: time 0.04041/1.366, allocations: 21.87 MB / 1.526 GB, free: 1.254 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.908475943375379]