Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 181.2 kB / 16.92 MB, free: 6.891 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6593/0.6597, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2207/0.8804, allocations: 193.5 MB / 1.145 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009569/0.89, allocations: 5.153 MB / 1.15 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.8917, allocations: 27.81 kB / 1.15 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.8936, allocations: 0.5011 MB / 1.15 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.8994, allocations: 1.744 MB / 1.152 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.9038, allocations: 1.529 MB / 1.153 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.9087, allocations: 3.516 MB / 1.157 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.9108, allocations: 1.22 MB / 1.158 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.9132, allocations: 1.043 MB / 1.159 GB, free: 14.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.9151, allocations: 1.078 MB / 1.16 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.9155, allocations: 76 kB / 1.16 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.9186, allocations: 1.504 MB / 1.162 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.9194, allocations: 442.3 kB / 1.162 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.9207, allocations: 0.7399 MB / 1.163 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.9231, allocations: 1.898 MB / 1.165 GB, free: 8.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9232, allocations: 4 kB / 1.165 GB, free: 8.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9232, allocations: 0 / 1.165 GB, free: 8.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.493e-05/0.9232, allocations: 4 kB / 1.165 GB, free: 8.68 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005542/0.9288, allocations: 1.823 MB / 1.166 GB, free: 6.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.9288, allocations: 8.031 kB / 1.166 GB, free: 6.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.93, allocations: 238 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.9325, allocations: 1.302 MB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.9327, allocations: 69.62 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.9329, allocations: 79.98 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9345, allocations: 0.8222 MB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.9345, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.9346, allocations: 24 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.9346, allocations: 33.25 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.9364, allocations: 0.864 MB / 1.17 GB, free: 3.309 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.005867/0.9423, allocations: 3.47 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.9437, allocations: 0.7445 MB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.9445, allocations: 453.9 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.9449, allocations: 295.7 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.945, allocations: 39 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001098/0.9461, allocations: 235.4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.9461, allocations: 3.938 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.00298/0.9491, allocations: 1.345 MB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.9491, allocations: 55.84 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.9519, allocations: 1.637 MB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.952, allocations: 41.7 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.9525, allocations: 0.5267 MB / 1.178 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.9527, allocations: 185.3 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.9528, allocations: 49.69 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9529, allocations: 329.9 kB / 1.179 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.9537, allocations: 356.9 kB / 1.179 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.9547, allocations: 0.6358 MB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.9562, allocations: 0.7921 MB / 1.181 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9563, allocations: 4 kB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002047/0.9583, allocations: 0.9855 MB / 1.182 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.9584, allocations: 97.2 kB / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9584, allocations: 0 / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9584, allocations: 4 kB / 1.182 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.9593, allocations: 171.7 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.9593, allocations: 4 kB / 1.182 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.961, allocations: 175.1 kB / 1.182 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.9611, allocations: 31.95 kB / 1.182 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.9611, allocations: 10.12 kB / 1.182 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/0.9628, allocations: 0.8213 MB / 1.183 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9628, allocations: 3.984 kB / 1.183 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.9628, allocations: 4 kB / 1.183 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.9636, allocations: 163.8 kB / 1.183 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.9636, allocations: 0 / 1.183 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.9653, allocations: 163.9 kB / 1.183 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.9654, allocations: 39.95 kB / 1.183 GB, free: 5.078 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 (57): * Single equations (assignments): 57 * 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.000544/0.9659, allocations: 368.9 kB / 1.184 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.9662, allocations: 130.4 kB / 1.184 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.9684, allocations: 1.047 MB / 1.185 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.9685, allocations: 4 kB / 1.185 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9685, allocations: 0 / 1.185 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.9685, allocations: 7.984 kB / 1.185 GB, free: 3.516 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.003923/0.9724, allocations: 2.493 MB / 1.187 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.9724, allocations: 8.016 kB / 1.187 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.9732, allocations: 135.8 kB / 1.187 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-06/0.9732, allocations: 4 kB / 1.187 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.9732, allocations: 31.86 kB / 1.187 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.9732, allocations: 4 kB / 1.187 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9733, allocations: 4 kB / 1.187 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.976, allocations: 1.559 MB / 1.189 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.9766, allocations: 347.3 kB / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.9768, allocations: 23.94 kB / 1.189 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.9781, allocations: 107.7 kB / 1.189 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.9782, allocations: 48.44 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.9783, allocations: 24 kB / 1.189 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001958/0.9803, allocations: 1.178 MB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9803, allocations: 0 / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001394/0.9817, allocations: 0.507 MB / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.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 (64): * Single equations (assignments): 64 * 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.0004821/0.9822, allocations: 231.1 kB / 1.191 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.9848, allocations: 1.26 MB / 1.193 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9848, allocations: 4 kB / 1.193 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.9856, allocations: 443.4 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.9892, allocations: 0.5715 MB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.9929, allocations: 2.632 MB / 1.196 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.9936, allocations: 1.149 MB / 1.197 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.9941, allocations: 131.3 kB / 1.197 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.9941, allocations: 0 / 1.197 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of Templates: time 0.03254/1.027, allocations: 20.77 MB / 1.218 GB, free: 1.816 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches