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.001739/0.001739, allocations: 107 kB / 16.41 MB, free: 6.488 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.001892/0.001892, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.516/1.516, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.73/2.73, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 151.7 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2416/1.316, allocations: 189.7 MB / 1.353 GB, free: 5.594 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008951/1.325, allocations: 4.283 MB / 1.357 GB, free: 1.301 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/1.327, allocations: 23.88 kB / 1.357 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/1.329, allocations: 0.5278 MB / 1.357 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/1.333, allocations: 1.628 MB / 1.359 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/1.338, allocations: 1.35 MB / 1.36 GB, free: 13.77 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003971/1.342, allocations: 2.277 MB / 1.362 GB, free: 11.49 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/1.343, allocations: 1.081 MB / 1.363 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/1.345, allocations: 0.9693 MB / 1.364 GB, free: 9.426 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/1.347, allocations: 0.8756 MB / 1.365 GB, free: 8.547 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/1.347, allocations: 140 kB / 1.365 GB, free: 8.41 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/1.35, allocations: 1.247 MB / 1.367 GB, free: 7.16 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007137/1.351, allocations: 422.7 kB / 1.367 GB, free: 6.746 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.352, allocations: 0.6453 MB / 1.368 GB, free: 6.098 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/1.357, allocations: 1.978 MB / 1.37 GB, free: 4.113 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.357, allocations: 8 kB / 1.37 GB, free: 4.105 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.362e-06/1.357, allocations: 0 / 1.37 GB, free: 4.105 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.535e-05/1.357, allocations: 3.938 kB / 1.37 GB, free: 4.102 MB / 1.092 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.006822/1.364, allocations: 1.758 MB / 1.371 GB, free: 2.285 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.364, allocations: 12.03 kB / 1.371 GB, free: 2.273 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/1.365, allocations: 187.1 kB / 1.371 GB, free: 2.09 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.368, allocations: 1.081 MB / 1.373 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/1.369, allocations: 49 kB / 1.373 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/1.369, allocations: 59.94 kB / 1.373 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.371, allocations: 0.6115 MB / 1.373 GB, free: 236 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.371, allocations: 0 / 1.373 GB, free: 236 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/1.371, allocations: 20 kB / 1.373 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/1.371, allocations: 17 kB / 1.373 GB, free: 200 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.373, allocations: 0.6285 MB / 1.374 GB, free: 15.56 MB / 1.107 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.007099/1.38, allocations: 2.662 MB / 1.377 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/1.382, allocations: 0.5483 MB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.383, allocations: 348.6 kB / 1.377 GB, free: 11.87 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/1.384, allocations: 299.1 kB / 1.378 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/1.384, allocations: 38.56 kB / 1.378 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001204/1.385, allocations: 139.6 kB / 1.378 GB, free: 11.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 4.438e-06/1.385, allocations: 0 / 1.378 GB, free: 11.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.003887/1.389, allocations: 1.024 MB / 1.379 GB, free: 10.3 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.389, allocations: 55.41 kB / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/1.392, allocations: 1.267 MB / 1.38 GB, free: 8.953 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.393, allocations: 41.7 kB / 1.38 GB, free: 8.906 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/1.393, allocations: 438 kB / 1.381 GB, free: 8.477 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.394, allocations: 158.6 kB / 1.381 GB, free: 8.32 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/1.394, allocations: 118 kB / 1.381 GB, free: 8.199 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.394, allocations: 322 kB / 1.381 GB, free: 7.879 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/1.395, allocations: 278.1 kB / 1.381 GB, free: 7.605 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/1.396, allocations: 489.1 kB / 1.382 GB, free: 7.051 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.398, allocations: 0.5755 MB / 1.382 GB, free: 6.473 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.398, allocations: 4 kB / 1.382 GB, free: 6.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002775/1.401, allocations: 0.7575 MB / 1.383 GB, free: 5.703 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.401, allocations: 4 kB / 1.383 GB, free: 5.699 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.401, allocations: 4 kB / 1.383 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.401, allocations: 0 / 1.383 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.402, allocations: 119.8 kB / 1.383 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.402, allocations: 4 kB / 1.383 GB, free: 5.574 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.404, allocations: 99.8 kB / 1.383 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.404, allocations: 23.97 kB / 1.383 GB, free: 5.453 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/1.406, allocations: 463.9 kB / 1.384 GB, free: 4.996 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/1.407, allocations: 486.2 kB / 1.384 GB, free: 4.441 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/1.409, allocations: 0.5841 MB / 1.385 GB, free: 3.855 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.409, allocations: 0 / 1.385 GB, free: 3.855 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002644/1.412, allocations: 0.7466 MB / 1.386 GB, free: 3.102 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.412, allocations: 4 kB / 1.386 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.412, allocations: 8 kB / 1.386 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/1.412, allocations: 0 / 1.386 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/1.413, allocations: 115.8 kB / 1.386 GB, free: 2.977 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.413, allocations: 0 / 1.386 GB, free: 2.977 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/1.415, allocations: 132.2 kB / 1.386 GB, free: 2.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/1.415, allocations: 23.97 kB / 1.386 GB, free: 2.824 MB / 1.107 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.0003197/1.415, allocations: 204.2 kB / 1.386 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/1.416, allocations: 115.2 kB / 1.386 GB, free: 2.504 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/1.418, allocations: 0.8109 MB / 1.387 GB, free: 1.688 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.419, allocations: 8 kB / 1.387 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.419, allocations: 0 / 1.387 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.419, allocations: 3.984 kB / 1.387 GB, free: 1.676 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/1.424, allocations: 1.958 MB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.424, allocations: 0 / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/1.425, allocations: 111.8 kB / 1.389 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/1.425, allocations: 4 kB / 1.389 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/1.425, allocations: 12 kB / 1.389 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/1.425, allocations: 11.92 kB / 1.389 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.425, allocations: 4 kB / 1.389 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/1.428, allocations: 1.233 MB / 1.39 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/1.429, allocations: 300.1 kB / 1.391 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/1.429, allocations: 20.06 kB / 1.391 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.43, allocations: 67.84 kB / 1.391 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.431, allocations: 43.84 kB / 1.391 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/1.431, allocations: 23.98 kB / 1.391 GB, free: 13.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001924/1.433, allocations: 0.9208 MB / 1.392 GB, free: 12.82 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.433, allocations: 3.938 kB / 1.392 GB, free: 12.82 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001805/1.434, allocations: 407.4 kB / 1.392 GB, free: 12.42 MB / 1.123 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.0007284/1.435, allocations: 213.8 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.438, allocations: 0.944 MB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.438, allocations: 0 / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.438, allocations: 340.1 kB / 1.393 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.441, allocations: 431 kB / 1.394 GB, free: 10.52 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/1.445, allocations: 1.693 MB / 1.396 GB, free: 8.762 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/1.446, allocations: 1.053 MB / 1.397 GB, free: 7.676 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001345/1.447, allocations: 291 kB / 1.397 GB, free: 7.387 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/1.447, allocations: 91.39 kB / 1.397 GB, free: 7.297 MB / 1.123 GB Notification: Performance of SimCode: time 1.803e-06/1.447, allocations: 4 kB / 1.397 GB, free: 7.293 MB / 1.123 GB Notification: Performance of Templates: time 0.04536/1.493, allocations: 21.48 MB / 1.418 GB, free: 2.074 MB / 1.139 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 -s cvode -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/jenkins1/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