Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007776/0.007776, allocations: 101 kB / 15.73 MB, free: 6.047 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.001798/0.001798, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 70.94 kB / 0.9508 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3643, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.175/1.539, allocations: 189.7 MB / 1.273 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008083/1.547, allocations: 4.282 MB / 1.277 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/1.549, allocations: 29.38 kB / 1.277 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.55, allocations: 0.5136 MB / 1.278 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/1.555, allocations: 1.626 MB / 1.279 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/1.559, allocations: 1.365 MB / 1.281 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005247/1.564, allocations: 2.269 MB / 1.283 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/1.567, allocations: 1.075 MB / 1.284 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/1.569, allocations: 0.9707 MB / 1.285 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/1.571, allocations: 0.8718 MB / 1.286 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/1.571, allocations: 139.2 kB / 1.286 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/1.575, allocations: 1.256 MB / 1.287 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007396/1.576, allocations: 419.2 kB / 1.288 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.577, allocations: 0.6498 MB / 1.288 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006021/1.583, allocations: 1.973 MB / 1.29 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/1.583, allocations: 0.75 kB / 1.29 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.757e-06/1.583, allocations: 0 / 1.29 GB, free: 3.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.168e-05/1.583, allocations: 1 kB / 1.29 GB, free: 3.141 MB / 1.014 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.007113/1.59, allocations: 1.728 MB / 1.292 GB, free: 2.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/1.591, allocations: 10.16 kB / 1.292 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.592, allocations: 189.8 kB / 1.292 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/1.594, allocations: 1.064 MB / 1.293 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/1.594, allocations: 48.47 kB / 1.293 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.594, allocations: 59.88 kB / 1.293 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.596, allocations: 0.6104 MB / 1.294 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.596, allocations: 1.031 kB / 1.294 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/1.596, allocations: 19.95 kB / 1.294 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.596, allocations: 26.89 kB / 1.294 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/1.597, allocations: 0.6247 MB / 1.294 GB, free: 1.84 MB / 1.014 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.004906/1.602, allocations: 2.655 MB / 1.297 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.603, allocations: 0.5309 MB / 1.298 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/1.604, allocations: 352.3 kB / 1.298 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/1.605, allocations: 299.9 kB / 1.298 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.605, allocations: 44.66 kB / 1.298 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008229/1.605, allocations: 140.1 kB / 1.298 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/1.605, allocations: 1.125 kB / 1.298 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002519/1.608, allocations: 1.022 MB / 1.299 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.608, allocations: 58.75 kB / 1.299 GB, free: 496 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.611, allocations: 1.272 MB / 1.301 GB, free: 16.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/1.611, allocations: 39.17 kB / 1.301 GB, free: 16.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/1.611, allocations: 439.9 kB / 1.301 GB, free: 16.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.611, allocations: 148.3 kB / 1.301 GB, free: 16.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.611, allocations: 119.4 kB / 1.301 GB, free: 16.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.611, allocations: 322.2 kB / 1.302 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/1.612, allocations: 274.3 kB / 1.302 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/1.613, allocations: 486 kB / 1.302 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.614, allocations: 0.587 MB / 1.303 GB, free: 15.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.614, allocations: 0 / 1.303 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001679/1.616, allocations: 0.7365 MB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.616, allocations: 5.719 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.616, allocations: 0.8438 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/1.616, allocations: 2.594 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/1.617, allocations: 128.2 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.617, allocations: 3.531 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.618, allocations: 91.58 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/1.618, allocations: 23.44 kB / 1.304 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008955/1.619, allocations: 470.6 kB / 1.304 GB, free: 15.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008158/1.62, allocations: 484.9 kB / 1.305 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001189/1.621, allocations: 0.578 MB / 1.305 GB, free: 15.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.621, allocations: 1.938 kB / 1.305 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001645/1.623, allocations: 0.7318 MB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.623, allocations: 5.094 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.623, allocations: 1.406 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/1.623, allocations: 5.312 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/1.623, allocations: 118.8 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.623, allocations: 7.375 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.625, allocations: 129.5 kB / 1.306 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/1.625, allocations: 23.31 kB / 1.306 GB, free: 15.04 MB / 1.029 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.0002609/1.625, allocations: 204.1 kB / 1.307 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/1.625, allocations: 103.2 kB / 1.307 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/1.627, allocations: 0.8126 MB / 1.307 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.627, allocations: 9.438 kB / 1.307 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/1.627, allocations: 1.891 kB / 1.307 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.628, allocations: 8.078 kB / 1.307 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/1.631, allocations: 1.947 MB / 1.309 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.631, allocations: 3.25 kB / 1.309 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/1.632, allocations: 107.8 kB / 1.31 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.632, allocations: 4.156 kB / 1.31 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/1.632, allocations: 17.06 kB / 1.31 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.632, allocations: 9.172 kB / 1.31 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.632, allocations: 3.188 kB / 1.31 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/1.634, allocations: 1.232 MB / 1.311 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/1.635, allocations: 293.5 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/1.635, allocations: 12.97 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/1.636, allocations: 62.86 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.636, allocations: 49.12 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/1.636, allocations: 17.03 kB / 1.311 GB, free: 13.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001733/1.638, allocations: 0.9223 MB / 1.312 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.51e-07/1.638, allocations: 0 / 1.312 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001792/1.64, allocations: 411 kB / 1.312 GB, free: 13.78 MB / 1.029 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.0007165/1.64, allocations: 226 kB / 1.313 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.643, allocations: 0.9453 MB / 1.314 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.643, allocations: 0.9062 kB / 1.314 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/1.644, allocations: 336.6 kB / 1.314 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.646, allocations: 439.9 kB / 1.314 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/1.649, allocations: 1.673 MB / 1.316 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/1.65, allocations: 1.047 MB / 1.317 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001171/1.651, allocations: 288.4 kB / 1.317 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/1.651, allocations: 99.45 kB / 1.317 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 8.12e-07/1.651, allocations: 3.188 kB / 1.317 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Templates: time 0.04169/1.693, allocations: 21.4 MB / 1.338 GB, free: 7.637 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches