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.005456/0.005456, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001079/0.001079, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.893/2.893, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3745, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.195/1.569, allocations: 189.7 MB / 1.352 GB, free: 3.316 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01003/1.579, allocations: 4.264 MB / 1.356 GB, free: 320 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/1.582, allocations: 32.94 kB / 1.356 GB, free: 304 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/1.584, allocations: 0.5013 MB / 1.357 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005924/1.59, allocations: 1.573 MB / 1.358 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/1.595, allocations: 1.348 MB / 1.359 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004989/1.6, allocations: 2.266 MB / 1.362 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/1.602, allocations: 1.076 MB / 1.363 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/1.605, allocations: 0.9584 MB / 1.364 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/1.607, allocations: 0.8679 MB / 1.364 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/1.607, allocations: 139.5 kB / 1.365 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/1.611, allocations: 1.248 MB / 1.366 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005928/1.611, allocations: 427.4 kB / 1.366 GB, free: 11.28 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009975/1.612, allocations: 0.6414 MB / 1.367 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/1.616, allocations: 1.979 MB / 1.369 GB, free: 9.426 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.616, allocations: 0 / 1.369 GB, free: 9.426 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/1.616, allocations: 0 / 1.369 GB, free: 9.426 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.12e-05/1.616, allocations: 0 / 1.369 GB, free: 9.426 MB / 1.045 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.005117/1.622, allocations: 1.77 MB / 1.37 GB, free: 8.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.622, allocations: 12.22 kB / 1.37 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/1.623, allocations: 194.2 kB / 1.371 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/1.625, allocations: 1.07 MB / 1.372 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/1.625, allocations: 41.03 kB / 1.372 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.625, allocations: 62.25 kB / 1.372 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/1.626, allocations: 0.6209 MB / 1.372 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.626, allocations: 0 / 1.372 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/1.627, allocations: 20.94 kB / 1.372 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/1.627, allocations: 19.41 kB / 1.372 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/1.628, allocations: 0.6277 MB / 1.373 GB, free: 6.477 MB / 1.045 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.0049/1.633, allocations: 2.659 MB / 1.376 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/1.634, allocations: 0.5596 MB / 1.376 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006366/1.635, allocations: 344.6 kB / 1.377 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004426/1.635, allocations: 289.5 kB / 1.377 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.635, allocations: 49.19 kB / 1.377 GB, free: 3.555 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008545/1.636, allocations: 141.9 kB / 1.377 GB, free: 3.484 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 3.095e-06/1.636, allocations: 0 / 1.377 GB, free: 3.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.002428/1.639, allocations: 1.015 MB / 1.378 GB, free: 2.977 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.639, allocations: 56.72 kB / 1.378 GB, free: 2.914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.641, allocations: 1.278 MB / 1.379 GB, free: 2.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.184e-05/1.641, allocations: 38.95 kB / 1.379 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.641, allocations: 434.4 kB / 1.38 GB, free: 1.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/1.641, allocations: 154.1 kB / 1.38 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/1.642, allocations: 117.1 kB / 1.38 GB, free: 1.605 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.642, allocations: 323.2 kB / 1.38 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/1.642, allocations: 273.3 kB / 1.381 GB, free: 1.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/1.643, allocations: 489.3 kB / 1.381 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.644, allocations: 0.5789 MB / 1.382 GB, free: 492 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.644, allocations: 0 / 1.382 GB, free: 492 kB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00177/1.646, allocations: 0.7532 MB / 1.382 GB, free: 84 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.646, allocations: 5.375 kB / 1.382 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.646, allocations: 0 / 1.382 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.646, allocations: 2.406 kB / 1.382 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/1.647, allocations: 127 kB / 1.382 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.647, allocations: 1.812 kB / 1.382 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.648, allocations: 91.88 kB / 1.383 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/1.649, allocations: 24.94 kB / 1.383 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009354/1.649, allocations: 469.5 kB / 1.383 GB, free: 15.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007997/1.65, allocations: 486.2 kB / 1.384 GB, free: 15.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/1.651, allocations: 0.5816 MB / 1.384 GB, free: 15.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.651, allocations: 0 / 1.384 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001814/1.653, allocations: 0.7389 MB / 1.385 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.653, allocations: 9.219 kB / 1.385 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.653, allocations: 3.281 kB / 1.385 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/1.653, allocations: 0 / 1.385 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/1.654, allocations: 126.2 kB / 1.385 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.654, allocations: 3.188 kB / 1.385 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.656, allocations: 120.9 kB / 1.385 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/1.656, allocations: 27.5 kB / 1.385 GB, free: 14.53 MB / 1.061 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.0002711/1.656, allocations: 203.7 kB / 1.385 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/1.656, allocations: 117.5 kB / 1.385 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/1.658, allocations: 0.8083 MB / 1.386 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.658, allocations: 6.5 kB / 1.386 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.658, allocations: 0 / 1.386 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.658, allocations: 0 / 1.386 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/1.662, allocations: 1.965 MB / 1.388 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.662, allocations: 2.719 kB / 1.388 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/1.662, allocations: 112 kB / 1.388 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.662, allocations: 2.938 kB / 1.388 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/1.662, allocations: 14.81 kB / 1.388 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/1.662, allocations: 9.906 kB / 1.388 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.662, allocations: 6.094 kB / 1.388 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.665, allocations: 1.237 MB / 1.389 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/1.665, allocations: 296 kB / 1.39 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/1.665, allocations: 12.34 kB / 1.39 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.666, allocations: 66.3 kB / 1.39 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.667, allocations: 48.02 kB / 1.39 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/1.667, allocations: 16.28 kB / 1.39 GB, free: 11.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001638/1.668, allocations: 0.9259 MB / 1.391 GB, free: 10.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.668, allocations: 0 / 1.391 GB, free: 10.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00153/1.67, allocations: 407.9 kB / 1.391 GB, free: 10.7 MB / 1.061 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.0006998/1.671, allocations: 221.3 kB / 1.391 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.673, allocations: 0.9362 MB / 1.392 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.673, allocations: 4 kB / 1.392 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/1.674, allocations: 339.2 kB / 1.393 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.676, allocations: 428.3 kB / 1.393 GB, free: 9.734 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.679, allocations: 1.698 MB / 1.395 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/1.68, allocations: 1.044 MB / 1.396 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001285/1.681, allocations: 292.3 kB / 1.396 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.681, allocations: 99 kB / 1.396 GB, free: 7.641 MB / 1.061 GB Notification: Performance of SimCode: time 1.443e-06/1.681, allocations: 0 / 1.396 GB, free: 7.641 MB / 1.061 GB Notification: Performance of Templates: time 0.04097/1.722, allocations: 21.42 MB / 1.417 GB, free: 3.711 MB / 1.076 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