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.001079/0.001079, allocations: 109.7 kB / 16.41 MB, free: 6.449 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.001134/0.001134, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8192, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1922/1.011, allocations: 189.7 MB / 1.353 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007184/1.019, allocations: 4.283 MB / 1.357 GB, free: 1.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/1.02, allocations: 27.81 kB / 1.357 GB, free: 1.133 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/1.021, allocations: 0.5162 MB / 1.357 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004376/1.026, allocations: 1.627 MB / 1.359 GB, free: 14.98 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004171/1.03, allocations: 1.349 MB / 1.36 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003863/1.034, allocations: 2.281 MB / 1.362 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/1.035, allocations: 1.077 MB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/1.037, allocations: 0.9693 MB / 1.364 GB, free: 9.293 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/1.039, allocations: 0.8795 MB / 1.365 GB, free: 8.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/1.039, allocations: 140 kB / 1.365 GB, free: 8.273 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/1.041, allocations: 1.247 MB / 1.367 GB, free: 7.023 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/1.042, allocations: 422.7 kB / 1.367 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007191/1.043, allocations: 0.6492 MB / 1.368 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002837/1.046, allocations: 1.978 MB / 1.37 GB, free: 3.973 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.046, allocations: 0 / 1.37 GB, free: 3.973 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.834e-06/1.046, allocations: 4 kB / 1.37 GB, free: 3.969 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.046, allocations: 0 / 1.37 GB, free: 3.969 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.004277/1.05, allocations: 1.764 MB / 1.371 GB, free: 2.148 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.05, allocations: 8.031 kB / 1.371 GB, free: 2.141 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009316/1.051, allocations: 195.1 kB / 1.371 GB, free: 1.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.053, allocations: 1.081 MB / 1.373 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/1.053, allocations: 41 kB / 1.373 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.053, allocations: 63.94 kB / 1.373 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/1.054, allocations: 0.6076 MB / 1.373 GB, free: 100 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.054, allocations: 4 kB / 1.373 GB, free: 96 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/1.054, allocations: 20 kB / 1.373 GB, free: 76 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/1.054, allocations: 17 kB / 1.373 GB, free: 60 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.056, allocations: 0.6246 MB / 1.374 GB, free: 15.43 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.004106/1.06, allocations: 2.666 MB / 1.376 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.061, allocations: 0.5494 MB / 1.377 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/1.061, allocations: 348.6 kB / 1.377 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/1.062, allocations: 295.2 kB / 1.378 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.062, allocations: 38.56 kB / 1.378 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007254/1.063, allocations: 143.6 kB / 1.378 GB, free: 11.2 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/1.063, allocations: 0 / 1.378 GB, free: 11.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.002312/1.065, allocations: 1.024 MB / 1.379 GB, free: 10.16 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.065, allocations: 55.41 kB / 1.379 GB, free: 10.1 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.067, allocations: 1.271 MB / 1.38 GB, free: 8.809 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/1.067, allocations: 37.7 kB / 1.38 GB, free: 8.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/1.068, allocations: 438 kB / 1.381 GB, free: 8.336 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.068, allocations: 154.6 kB / 1.381 GB, free: 8.184 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/1.068, allocations: 125.9 kB / 1.381 GB, free: 8.055 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.068, allocations: 322 kB / 1.381 GB, free: 7.734 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/1.069, allocations: 274.1 kB / 1.381 GB, free: 7.465 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/1.069, allocations: 487.3 kB / 1.382 GB, free: 6.914 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.07, allocations: 0.5793 MB / 1.382 GB, free: 6.332 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.07, allocations: 4 kB / 1.382 GB, free: 6.328 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001595/1.072, allocations: 0.7537 MB / 1.383 GB, free: 5.566 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.072, allocations: 4 kB / 1.383 GB, free: 5.562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.072, allocations: 0 / 1.383 GB, free: 5.562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.072, allocations: 4 kB / 1.383 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/1.073, allocations: 119.8 kB / 1.383 GB, free: 5.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.073, allocations: 4 kB / 1.383 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.074, allocations: 91.88 kB / 1.383 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/1.074, allocations: 23.97 kB / 1.383 GB, free: 5.324 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008159/1.075, allocations: 467.9 kB / 1.384 GB, free: 4.863 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007129/1.076, allocations: 489.9 kB / 1.384 GB, free: 4.305 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/1.077, allocations: 0.5775 MB / 1.385 GB, free: 3.723 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/1.077, allocations: 4 kB / 1.385 GB, free: 3.719 MB / 1.107 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001523/1.078, allocations: 0.7461 MB / 1.386 GB, free: 2.969 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.078, allocations: 8 kB / 1.386 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.078, allocations: 0 / 1.386 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/1.078, allocations: 4 kB / 1.386 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/1.079, allocations: 119.8 kB / 1.386 GB, free: 2.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/1.079, allocations: 3.938 kB / 1.386 GB, free: 2.836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.08, allocations: 128.3 kB / 1.386 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/1.08, allocations: 27.97 kB / 1.386 GB, free: 2.684 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.0001936/1.081, allocations: 208.1 kB / 1.386 GB, free: 2.473 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.081, allocations: 111.2 kB / 1.386 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/1.082, allocations: 0.7993 MB / 1.387 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.082, allocations: 8 kB / 1.387 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.082, allocations: 4 kB / 1.387 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.082, allocations: 3.984 kB / 1.387 GB, free: 1.543 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/1.085, allocations: 1.949 MB / 1.389 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.085, allocations: 4.281 kB / 1.389 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/1.086, allocations: 111.8 kB / 1.389 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.086, allocations: 4 kB / 1.389 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/1.086, allocations: 16 kB / 1.389 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/1.086, allocations: 11.92 kB / 1.389 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.086, allocations: 4 kB / 1.389 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/1.088, allocations: 1.233 MB / 1.39 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/1.089, allocations: 300.1 kB / 1.391 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.089, allocations: 12 kB / 1.391 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/1.09, allocations: 67.91 kB / 1.391 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.09, allocations: 47.84 kB / 1.391 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/1.09, allocations: 23.98 kB / 1.391 GB, free: 13.62 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001367/1.091, allocations: 0.9169 MB / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001105/1.092, allocations: 411.4 kB / 1.392 GB, free: 12.3 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.0004676/1.093, allocations: 226.1 kB / 1.392 GB, free: 12.07 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.095, allocations: 0.9435 MB / 1.393 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.095, allocations: 0 / 1.393 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/1.095, allocations: 340.1 kB / 1.393 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.097, allocations: 426.7 kB / 1.394 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/1.1, allocations: 1.741 MB / 1.396 GB, free: 8.574 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/1.1, allocations: 1.049 MB / 1.397 GB, free: 7.492 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/1.101, allocations: 95.39 kB / 1.397 GB, free: 7.398 MB / 1.123 GB Notification: Performance of SimCode: time 1.232e-06/1.101, allocations: 0 / 1.397 GB, free: 7.398 MB / 1.123 GB Notification: Performance of Templates: time 0.02195/1.123, allocations: 16.34 MB / 1.413 GB, free: 7.199 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 -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