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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001226/0.001227, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.01031/0.01032, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004257, allocations: 15.94 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8987/0.8991, allocations: 142.4 MB / 0.955 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2477/1.147, allocations: 193.5 MB / 1.144 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009662/1.157, allocations: 5.156 MB / 1.149 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/1.159, allocations: 27.75 kB / 1.149 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/1.161, allocations: 0.4972 MB / 1.15 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006796/1.168, allocations: 1.75 MB / 1.151 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/1.173, allocations: 1.527 MB / 1.153 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005816/1.179, allocations: 3.512 MB / 1.156 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/1.181, allocations: 1.22 MB / 1.157 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/1.184, allocations: 1.047 MB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/1.185, allocations: 1.074 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.186, allocations: 79.94 kB / 1.16 GB, free: 13.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/1.189, allocations: 1.5 MB / 1.161 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005102/1.189, allocations: 442.3 kB / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/1.19, allocations: 0.7438 MB / 1.162 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/1.194, allocations: 2.461 MB / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.194, allocations: 0 / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.194e-06/1.194, allocations: 0 / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.349e-05/1.194, allocations: 4 kB / 1.165 GB, free: 8.059 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.00521/1.199, allocations: 1.831 MB / 1.166 GB, free: 6.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.199, allocations: 8.031 kB / 1.166 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.2, allocations: 230 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/1.203, allocations: 1.306 MB / 1.168 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.203, allocations: 69.62 kB / 1.168 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.203, allocations: 72 kB / 1.168 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.205, allocations: 0.83 MB / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.205, allocations: 0 / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/1.205, allocations: 20 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/1.205, allocations: 29.31 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.207, allocations: 0.8678 MB / 1.17 GB, free: 2.688 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.006376/1.213, allocations: 3.474 MB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.215, allocations: 0.747 MB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/1.216, allocations: 455.8 kB / 1.174 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000459/1.216, allocations: 291.6 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.216, allocations: 47 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/1.217, allocations: 239.3 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/1.217, allocations: 0 / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002945/1.22, allocations: 1.344 MB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.22, allocations: 55.84 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/1.223, allocations: 1.637 MB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.223, allocations: 41.7 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/1.224, allocations: 0.5306 MB / 1.178 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.224, allocations: 185.3 kB / 1.178 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.224, allocations: 49.64 kB / 1.179 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.225, allocations: 329.9 kB / 1.179 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/1.225, allocations: 360.9 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.226, allocations: 0.628 MB / 1.18 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.228, allocations: 0.7961 MB / 1.181 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.228, allocations: 4 kB / 1.181 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00218/1.23, allocations: 0.9816 MB / 1.182 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/1.23, allocations: 101.2 kB / 1.182 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.23, allocations: 0 / 1.182 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.23, allocations: 7.984 kB / 1.182 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/1.231, allocations: 163.8 kB / 1.182 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.231, allocations: 8 kB / 1.182 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.233, allocations: 167 kB / 1.182 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/1.233, allocations: 23.97 kB / 1.182 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.233, allocations: 4 kB / 1.182 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/1.235, allocations: 0.829 MB / 1.183 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/1.235, allocations: 0 / 1.183 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/1.235, allocations: 4 kB / 1.183 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/1.236, allocations: 167.8 kB / 1.183 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.236, allocations: 3.984 kB / 1.183 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.238, allocations: 164.6 kB / 1.183 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/1.238, allocations: 35.95 kB / 1.183 GB, free: 4.457 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.0006722/1.238, allocations: 364.9 kB / 1.184 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/1.239, allocations: 138.4 kB / 1.184 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.241, allocations: 1.039 MB / 1.185 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.241, allocations: 4 kB / 1.185 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.241, allocations: 4 kB / 1.185 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.241, allocations: 7.984 kB / 1.185 GB, free: 2.895 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.004212/1.245, allocations: 2.497 MB / 1.187 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.245, allocations: 0 / 1.187 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/1.246, allocations: 140.1 kB / 1.187 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.246, allocations: 4 kB / 1.187 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/1.246, allocations: 23.94 kB / 1.187 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/1.246, allocations: 7.938 kB / 1.187 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.246, allocations: 4 kB / 1.187 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/1.249, allocations: 1.555 MB / 1.189 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/1.249, allocations: 351.3 kB / 1.189 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.25, allocations: 27.92 kB / 1.189 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.251, allocations: 99.73 kB / 1.189 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.251, allocations: 40.5 kB / 1.189 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/1.251, allocations: 35.98 kB / 1.189 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001975/1.253, allocations: 1.174 MB / 1.19 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.734e-06/1.253, allocations: 0 / 1.19 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001543/1.255, allocations: 0.5109 MB / 1.191 GB, free: 12.27 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.0005648/1.255, allocations: 225.9 kB / 1.191 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002635/1.258, allocations: 1.271 MB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.258, allocations: 4 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/1.259, allocations: 435.5 kB / 1.193 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.263, allocations: 0.5679 MB / 1.193 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/1.268, allocations: 2.594 MB / 1.196 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/1.269, allocations: 1.145 MB / 1.197 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002022/1.271, allocations: 369 kB / 1.197 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/1.271, allocations: 127.4 kB / 1.198 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of SimCode: time 1.553e-06/1.271, allocations: 0 / 1.198 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of Templates: time 0.04864/1.32, allocations: 26 MB / 1.223 GB, free: 11.8 MB / 0.9825 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/jenkins/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