Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7595, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2126/0.9721, allocations: 187.2 MB / 1.2 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008063/0.9802, allocations: 4.264 MB / 1.204 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.9824, allocations: 27.81 kB / 1.204 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.9841, allocations: 429.7 kB / 1.204 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.9887, allocations: 1.471 MB / 1.206 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.9925, allocations: 1.238 MB / 1.207 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.9958, allocations: 2.263 MB / 1.209 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.9972, allocations: 1.061 MB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.9988, allocations: 0.9614 MB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9999, allocations: 0.8951 MB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/1, allocations: 140 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/1.003, allocations: 1.282 MB / 1.213 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/1.003, allocations: 418.7 kB / 1.214 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006289/1.004, allocations: 0.6453 MB / 1.214 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/1.006, allocations: 2.037 MB / 1.216 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.006, allocations: 8 kB / 1.216 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.365e-06/1.006, allocations: 0 / 1.216 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.401e-05/1.006, allocations: 0 / 1.216 GB, free: 5.66 MB / 0.9669 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.004306/1.01, allocations: 1.716 MB / 1.218 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.01, allocations: 11.97 kB / 1.218 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/1.011, allocations: 186.5 kB / 1.218 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.013, allocations: 1.041 MB / 1.219 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/1.013, allocations: 64.84 kB / 1.219 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.013, allocations: 56 kB / 1.219 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.015, allocations: 0.6076 MB / 1.22 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.015, allocations: 4 kB / 1.22 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/1.015, allocations: 20 kB / 1.22 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.015, allocations: 17 kB / 1.22 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.016, allocations: 0.6207 MB / 1.221 GB, free: 1.199 MB / 0.9669 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.004011/1.02, allocations: 2.665 MB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/1.021, allocations: 0.5373 MB / 1.224 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/1.022, allocations: 351.5 kB / 1.224 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/1.022, allocations: 299.2 kB / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.022, allocations: 38.56 kB / 1.224 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007394/1.023, allocations: 159.4 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 3.366e-06/1.023, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002367/1.025, allocations: 1.023 MB / 1.226 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.025, allocations: 55.41 kB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/1.027, allocations: 1.271 MB / 1.227 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/1.027, allocations: 37.7 kB / 1.227 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.028, allocations: 433.7 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/1.028, allocations: 153.8 kB / 1.227 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.028, allocations: 114 kB / 1.228 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.028, allocations: 318 kB / 1.228 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/1.029, allocations: 282.2 kB / 1.228 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/1.03, allocations: 493 kB / 1.229 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.031, allocations: 0.5832 MB / 1.229 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.031, allocations: 0 / 1.229 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001493/1.032, allocations: 0.7454 MB / 1.23 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.032, allocations: 8 kB / 1.23 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.032, allocations: 0 / 1.23 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.032, allocations: 0 / 1.23 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/1.033, allocations: 119.8 kB / 1.23 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.033, allocations: 4 kB / 1.23 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.034, allocations: 111.7 kB / 1.23 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/1.034, allocations: 19.98 kB / 1.23 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008702/1.035, allocations: 471.9 kB / 1.231 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007744/1.036, allocations: 489.9 kB / 1.231 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/1.037, allocations: 0.5759 MB / 1.232 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/1.037, allocations: 4 kB / 1.232 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001484/1.039, allocations: 0.7382 MB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.039, allocations: 4 kB / 1.232 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/1.039, allocations: 0 / 1.232 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-06/1.039, allocations: 11.94 kB / 1.232 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/1.039, allocations: 123.8 kB / 1.232 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/1.039, allocations: 0 / 1.232 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.041, allocations: 128.3 kB / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/1.041, allocations: 23.97 kB / 1.233 GB, free: 4.43 MB / 0.9825 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.0002785/1.041, allocations: 209.7 kB / 1.233 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.041, allocations: 106.7 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/1.043, allocations: 0.807 MB / 1.234 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.043, allocations: 4 kB / 1.234 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.043, allocations: 0 / 1.234 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.043, allocations: 3.984 kB / 1.234 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/1.046, allocations: 1.949 MB / 1.236 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.046, allocations: 4 kB / 1.236 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/1.047, allocations: 103.9 kB / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.047, allocations: 11.94 kB / 1.236 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/1.047, allocations: 12.28 kB / 1.236 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.047, allocations: 11.94 kB / 1.236 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.047, allocations: 4 kB / 1.236 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/1.049, allocations: 1.236 MB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/1.049, allocations: 287.6 kB / 1.237 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/1.05, allocations: 23.92 kB / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.051, allocations: 71.97 kB / 1.237 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.051, allocations: 35.95 kB / 1.237 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/1.051, allocations: 23.98 kB / 1.237 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00148/1.052, allocations: 0.9247 MB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.052, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001304/1.054, allocations: 407.4 kB / 1.239 GB, free: 14.05 MB / 0.9981 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.0007229/1.054, allocations: 225.2 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.057, allocations: 0.9941 MB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.057, allocations: 4 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/1.058, allocations: 328.2 kB / 1.24 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.06, allocations: 434.4 kB / 1.241 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/1.063, allocations: 2.008 MB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.064, allocations: 1.041 MB / 1.244 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001587/1.066, allocations: 295 kB / 1.244 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/1.066, allocations: 95.38 kB / 1.244 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.066, allocations: 0 / 1.244 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.6857/1.752, allocations: 21.07 MB / 1.264 GB, free: 231.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches