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.001638/0.001638, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001748/0.001749, allocations: 199 kB / 16.91 MB, free: 6.188 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.567/2.567, allocations: 437.1 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.11 kB / 0.8694 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.674/0.9906, allocations: 187.2 MB / 1.2 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008367/0.999, allocations: 4.269 MB / 1.204 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/1.001, allocations: 26.75 kB / 1.205 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/1.002, allocations: 436.7 kB / 1.205 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004537/1.007, allocations: 1.476 MB / 1.206 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/1.011, allocations: 1.225 MB / 1.208 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003172/1.014, allocations: 2.265 MB / 1.21 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/1.015, allocations: 1.06 MB / 1.211 GB, free: 460 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.017, allocations: 0.9628 MB / 1.212 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/1.018, allocations: 0.8895 MB / 1.213 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/1.018, allocations: 140.8 kB / 1.213 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/1.021, allocations: 1.281 MB / 1.214 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/1.021, allocations: 427.9 kB / 1.214 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007201/1.022, allocations: 0.6422 MB / 1.215 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/1.024, allocations: 1.539 MB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.024, allocations: 5.906 kB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.024, allocations: 0 / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.516e-05/1.024, allocations: 0 / 1.217 GB, free: 12.77 MB / 0.92 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.004549/1.028, allocations: 1.719 MB / 1.218 GB, free: 11.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.028, allocations: 9.594 kB / 1.218 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/1.029, allocations: 182.4 kB / 1.218 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/1.031, allocations: 1.039 MB / 1.219 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/1.031, allocations: 48.86 kB / 1.219 GB, free: 10.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.032, allocations: 62.62 kB / 1.22 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.033, allocations: 0.6179 MB / 1.22 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.033, allocations: 4 kB / 1.22 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/1.033, allocations: 18.78 kB / 1.22 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/1.033, allocations: 24.17 kB / 1.22 GB, free: 10.19 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/1.035, allocations: 0.6207 MB / 1.221 GB, free: 9.57 MB / 0.92 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.004466/1.039, allocations: 2.661 MB / 1.223 GB, free: 6.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.04, allocations: 0.5465 MB / 1.224 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/1.041, allocations: 355.4 kB / 1.224 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/1.041, allocations: 299.2 kB / 1.225 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.041, allocations: 38.56 kB / 1.225 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008186/1.042, allocations: 163.4 kB / 1.225 GB, free: 5.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/1.042, allocations: 0 / 1.225 GB, free: 5.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002582/1.045, allocations: 1.008 MB / 1.226 GB, free: 4.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/1.045, allocations: 67.28 kB / 1.226 GB, free: 4.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.047, allocations: 1.271 MB / 1.227 GB, free: 2.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/1.047, allocations: 37.7 kB / 1.227 GB, free: 2.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/1.048, allocations: 433.7 kB / 1.227 GB, free: 2.457 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/1.048, allocations: 153.8 kB / 1.228 GB, free: 2.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/1.048, allocations: 114 kB / 1.228 GB, free: 2.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.048, allocations: 322 kB / 1.228 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/1.049, allocations: 270.2 kB / 1.228 GB, free: 1.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/1.05, allocations: 489 kB / 1.229 GB, free: 1.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.051, allocations: 0.5869 MB / 1.229 GB, free: 468 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.051, allocations: 3.938 kB / 1.229 GB, free: 464 kB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001786/1.053, allocations: 0.7379 MB / 1.23 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.053, allocations: 4 kB / 1.23 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.053, allocations: 1.172 kB / 1.23 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.053, allocations: 4 kB / 1.23 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/1.054, allocations: 119.8 kB / 1.23 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.054, allocations: 4 kB / 1.23 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.055, allocations: 111.7 kB / 1.23 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/1.055, allocations: 23.97 kB / 1.23 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009078/1.056, allocations: 467.8 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008187/1.057, allocations: 498.2 kB / 1.231 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/1.058, allocations: 0.5825 MB / 1.232 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/1.058, allocations: 0 / 1.232 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001714/1.06, allocations: 0.7383 MB / 1.233 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.06, allocations: 4 kB / 1.233 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/1.06, allocations: 0 / 1.233 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/1.06, allocations: 8 kB / 1.233 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/1.061, allocations: 119.8 kB / 1.233 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.061, allocations: 4 kB / 1.233 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.062, allocations: 132.2 kB / 1.233 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/1.062, allocations: 31.91 kB / 1.233 GB, free: 12.8 MB / 0.9356 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.0002369/1.062, allocations: 212.1 kB / 1.233 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/1.063, allocations: 102.7 kB / 1.233 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.065, allocations: 0.807 MB / 1.234 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.065, allocations: 4 kB / 1.234 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.065, allocations: 0 / 1.234 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.065, allocations: 0 / 1.234 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/1.068, allocations: 1.953 MB / 1.236 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.068, allocations: 3.984 kB / 1.236 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/1.069, allocations: 103.9 kB / 1.236 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.069, allocations: 7 kB / 1.236 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/1.069, allocations: 24.2 kB / 1.236 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/1.069, allocations: 8 kB / 1.236 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.069, allocations: 7.938 kB / 1.236 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.071, allocations: 1.225 MB / 1.237 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/1.071, allocations: 295.5 kB / 1.237 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.072, allocations: 11.94 kB / 1.237 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.073, allocations: 71.97 kB / 1.238 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.073, allocations: 43.94 kB / 1.238 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/1.073, allocations: 12 kB / 1.238 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00152/1.074, allocations: 0.9286 MB / 1.238 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.074, allocations: 0 / 1.238 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00118/1.076, allocations: 407.4 kB / 1.239 GB, free: 6.434 MB / 0.9356 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.0005028/1.076, allocations: 224.4 kB / 1.239 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.078, allocations: 0.9865 MB / 1.24 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.078, allocations: 3.938 kB / 1.24 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/1.079, allocations: 340.1 kB / 1.24 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.081, allocations: 434.4 kB / 1.241 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/1.084, allocations: 2.046 MB / 1.243 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/1.085, allocations: 1.045 MB / 1.244 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/1.086, allocations: 95.39 kB / 1.244 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of SimCode: time 8.62e-07/1.086, allocations: 0 / 1.244 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.02578/1.111, allocations: 16.22 MB / 1.26 GB, free: 1.109 MB / 0.9512 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=400 -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