Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001249/0.001249, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.00152/0.001521, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 12 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8851, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2085/1.094, allocations: 164.4 MB / 1.181 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009104/1.103, allocations: 5.013 MB / 1.186 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/1.104, allocations: 27.81 kB / 1.186 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/1.107, allocations: 0.5363 MB / 1.187 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005946/1.113, allocations: 1.8 MB / 1.189 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/1.116, allocations: 1.067 MB / 1.19 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00338/1.119, allocations: 1.624 MB / 1.191 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/1.121, allocations: 1.134 MB / 1.192 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/1.123, allocations: 1.098 MB / 1.193 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/1.124, allocations: 0.8407 MB / 1.194 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/1.125, allocations: 80 kB / 1.194 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/1.127, allocations: 0.7332 MB / 1.195 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004735/1.127, allocations: 410.7 kB / 1.195 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/1.128, allocations: 281 kB / 1.196 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/1.13, allocations: 1.823 MB / 1.197 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.13, allocations: 0 / 1.197 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.286e-06/1.13, allocations: 0 / 1.197 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.708e-05/1.13, allocations: 0 / 1.197 GB, free: 11.8 MB / 0.9512 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.006716/1.137, allocations: 1.823 MB / 1.199 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.383e-05/1.137, allocations: 8.031 kB / 1.199 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.139, allocations: 222 kB / 1.199 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/1.142, allocations: 1.26 MB / 1.201 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/1.143, allocations: 69.62 kB / 1.201 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.143, allocations: 76 kB / 1.201 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/1.145, allocations: 0.8105 MB / 1.202 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.145, allocations: 0 / 1.202 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.145, allocations: 24 kB / 1.202 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/1.145, allocations: 25.31 kB / 1.202 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.148, allocations: 0.8639 MB / 1.202 GB, free: 6.512 MB / 0.9512 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.008418/1.156, allocations: 3.47 MB / 1.206 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.157, allocations: 0.7749 MB / 1.207 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/1.158, allocations: 20.41 kB / 1.207 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.158, allocations: 39 kB / 1.207 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001365/1.159, allocations: 231.4 kB / 1.207 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 4.007e-06/1.159, allocations: 0 / 1.207 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=53): time 0.002893/1.162, allocations: 1.337 MB / 1.208 GB, free: 448 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.162, allocations: 63.8 kB / 1.208 GB, free: 372 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.165, allocations: 1.621 MB / 1.21 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.166, allocations: 41.7 kB / 1.21 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/1.166, allocations: 0.5268 MB / 1.21 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.167, allocations: 185.3 kB / 1.211 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/1.167, allocations: 8 kB / 1.211 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.167, allocations: 333.9 kB / 1.211 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.168, allocations: 356.9 kB / 1.211 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/1.169, allocations: 0.6201 MB / 1.212 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/1.171, allocations: 421.9 kB / 1.212 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.171, allocations: 0 / 1.212 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002906/1.173, allocations: 0.9737 MB / 1.213 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/1.174, allocations: 97.16 kB / 1.213 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.174, allocations: 0 / 1.213 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.174, allocations: 4 kB / 1.213 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.175, allocations: 171.7 kB / 1.213 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.175, allocations: 3.984 kB / 1.213 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.177, allocations: 161 kB / 1.214 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.178, allocations: 31.95 kB / 1.214 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.178, allocations: 4 kB / 1.214 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002307/1.18, allocations: 0.8213 MB / 1.214 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/1.18, allocations: 3.984 kB / 1.214 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/1.18, allocations: 0 / 1.214 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.181, allocations: 167.8 kB / 1.215 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.181, allocations: 7.938 kB / 1.215 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.184, allocations: 166.6 kB / 1.215 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.184, allocations: 31.97 kB / 1.215 GB, free: 9.516 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009344/1.185, allocations: 369 kB / 1.215 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/1.186, allocations: 126.4 kB / 1.215 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.189, allocations: 1.058 MB / 1.216 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.189, allocations: 4 kB / 1.216 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.189, allocations: 4 kB / 1.216 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.189, allocations: 11.92 kB / 1.216 GB, free: 7.934 MB / 0.9669 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.006003/1.195, allocations: 2.501 MB / 1.219 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.195, allocations: 0 / 1.219 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/1.196, allocations: 135.8 kB / 1.219 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/1.196, allocations: 4 kB / 1.219 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.196, allocations: 19.98 kB / 1.219 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/1.196, allocations: 4 kB / 1.219 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.196, allocations: 8.156 kB / 1.219 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.199, allocations: 1.679 MB / 1.221 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.2, allocations: 347.3 kB / 1.221 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/1.201, allocations: 19.98 kB / 1.221 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.202, allocations: 95.8 kB / 1.221 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.202, allocations: 56.39 kB / 1.221 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/1.202, allocations: 23.98 kB / 1.221 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002406/1.205, allocations: 1.17 MB / 1.222 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.205, allocations: 3.938 kB / 1.222 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001971/1.207, allocations: 0.507 MB / 1.223 GB, free: 1.133 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006003/1.207, allocations: 229.9 kB / 1.223 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002673/1.21, allocations: 1.241 MB / 1.224 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.21, allocations: 0 / 1.224 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/1.211, allocations: 447.4 kB / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.214, allocations: 0.5551 MB / 1.225 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/1.218, allocations: 2.469 MB / 1.228 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009195/1.219, allocations: 1.172 MB / 1.229 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001785/1.221, allocations: 369 kB / 1.229 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/1.222, allocations: 123.4 kB / 1.229 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/1.222, allocations: 0 / 1.229 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.04475/1.266, allocations: 25.23 MB / 1.254 GB, free: 1.551 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches