Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0009147/0.0009153, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007147/0.007147, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.688/2.688, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9385, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2361/1.175, allocations: 193.5 MB / 1.212 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.185, allocations: 5.16 MB / 1.217 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/1.187, allocations: 23.81 kB / 1.217 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/1.189, allocations: 0.4972 MB / 1.218 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/1.194, allocations: 1.743 MB / 1.219 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004597/1.199, allocations: 1.527 MB / 1.221 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00503/1.204, allocations: 3.524 MB / 1.224 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/1.206, allocations: 1.216 MB / 1.225 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/1.208, allocations: 1.047 MB / 1.226 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/1.21, allocations: 1.078 MB / 1.227 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/1.21, allocations: 76 kB / 1.228 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/1.213, allocations: 1.5 MB / 1.229 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004806/1.214, allocations: 442.3 kB / 1.229 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000911/1.215, allocations: 0.7438 MB / 1.23 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/1.218, allocations: 2.464 MB / 1.233 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.218, allocations: 4 kB / 1.233 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/1.218, allocations: 0 / 1.233 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.999e-05/1.218, allocations: 0 / 1.233 GB, free: 8.543 MB / 0.9825 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.005158/1.224, allocations: 1.831 MB / 1.234 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.224, allocations: 11.98 kB / 1.234 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.225, allocations: 226 kB / 1.235 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/1.227, allocations: 1.302 MB / 1.236 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.227, allocations: 73.61 kB / 1.236 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.227, allocations: 76 kB / 1.236 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.229, allocations: 0.8183 MB / 1.237 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.229, allocations: 0 / 1.237 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/1.229, allocations: 28 kB / 1.237 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/1.229, allocations: 21.31 kB / 1.237 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/1.231, allocations: 0.864 MB / 1.238 GB, free: 3.184 MB / 0.9825 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.754/1.985, allocations: 3.475 MB / 1.241 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/1.987, allocations: 0.7495 MB / 1.242 GB, free: 216.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/1.988, allocations: 458.6 kB / 1.242 GB, free: 216.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/1.988, allocations: 292.1 kB / 1.243 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.988, allocations: 38.42 kB / 1.243 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001588/1.99, allocations: 241.1 kB / 1.243 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 4.539e-06/1.99, allocations: 0 / 1.243 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53): time 0.003788/1.994, allocations: 1.34 MB / 1.244 GB, free: 216.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.994, allocations: 61.22 kB / 1.244 GB, free: 216 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/1.998, allocations: 1.631 MB / 1.246 GB, free: 215.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/1.998, allocations: 44.7 kB / 1.246 GB, free: 215.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.998, allocations: 0.5328 MB / 1.246 GB, free: 215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/1.999, allocations: 187.5 kB / 1.246 GB, free: 214.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.999, allocations: 42.69 kB / 1.247 GB, free: 214.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/1.999, allocations: 326.2 kB / 1.247 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/2, allocations: 364.6 kB / 1.247 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/2.001, allocations: 0.6312 MB / 1.248 GB, free: 214 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/2.003, allocations: 0.7978 MB / 1.249 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/2.003, allocations: 0 / 1.249 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002927/2.006, allocations: 0.9911 MB / 1.25 GB, free: 213.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/2.006, allocations: 98.98 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/2.006, allocations: 0.6562 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/2.006, allocations: 3.156 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/2.007, allocations: 175 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/2.007, allocations: 1.859 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/2.01, allocations: 165.3 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/2.01, allocations: 31.84 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/2.01, allocations: 3.5 kB / 1.25 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00215/2.012, allocations: 0.8276 MB / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/2.012, allocations: 0 / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/2.012, allocations: 2.281 kB / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/2.013, allocations: 164.8 kB / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/2.013, allocations: 8.688 kB / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/2.016, allocations: 156.5 kB / 1.251 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/2.016, allocations: 31.47 kB / 1.251 GB, free: 212.9 MB / 0.9825 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.001043/2.017, allocations: 372.3 kB / 1.251 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/2.017, allocations: 131.4 kB / 1.252 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/2.02, allocations: 1.048 MB / 1.253 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/2.02, allocations: 12.34 kB / 1.253 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/2.02, allocations: 1.094 kB / 1.253 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/2.02, allocations: 5.016 kB / 1.253 GB, free: 212.1 MB / 0.9825 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.005145/2.026, allocations: 2.496 MB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/2.026, allocations: 2.25 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/2.026, allocations: 132.1 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/2.027, allocations: 12.83 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/2.027, allocations: 19.06 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/2.027, allocations: 11.7 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.027, allocations: 1.969 kB / 1.255 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/2.03, allocations: 1.563 MB / 1.257 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/2.031, allocations: 355.9 kB / 1.257 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/2.031, allocations: 15.88 kB / 1.257 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/2.033, allocations: 97.78 kB / 1.257 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/2.033, allocations: 55.02 kB / 1.257 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/2.033, allocations: 25.27 kB / 1.257 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002194/2.035, allocations: 1.183 MB / 1.258 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.9e-07/2.035, allocations: 3.938 kB / 1.258 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002108/2.037, allocations: 0.5039 MB / 1.259 GB, free: 209.4 MB / 0.9825 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.0006049/2.038, allocations: 226.2 kB / 1.259 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00301/2.041, allocations: 1.263 MB / 1.26 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.041, allocations: 1.484 kB / 1.26 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009674/2.042, allocations: 437.6 kB / 1.261 GB, free: 208.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/2.046, allocations: 0.5607 MB / 1.261 GB, free: 208.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/2.05, allocations: 2.596 MB / 1.264 GB, free: 207.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/2.051, allocations: 1.149 MB / 1.265 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002254/2.053, allocations: 361.4 kB / 1.265 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/2.054, allocations: 129.9 kB / 1.266 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/2.054, allocations: 0 / 1.266 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.04023/2.094, allocations: 25.99 MB / 1.291 GB, free: 183.9 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches