Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_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_9_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.001424/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001745/0.001745, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.651/1.651, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.487/2.487, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8842, allocations: 140.3 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.22/1.104, allocations: 187.2 MB / 1.132 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009797/1.114, allocations: 4.268 MB / 1.136 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/1.117, allocations: 27.81 kB / 1.136 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002689/1.119, allocations: 429.7 kB / 1.137 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007205/1.127, allocations: 1.467 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005466/1.132, allocations: 1.242 MB / 1.139 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005351/1.138, allocations: 2.264 MB / 1.141 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/1.14, allocations: 1.065 MB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/1.144, allocations: 0.9614 MB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.146, allocations: 0.899 MB / 1.144 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003772/1.147, allocations: 140 kB / 1.144 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/1.151, allocations: 1.274 MB / 1.146 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007462/1.152, allocations: 430.7 kB / 1.146 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.153, allocations: 0.6453 MB / 1.147 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/1.157, allocations: 2.037 MB / 1.149 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.157, allocations: 0 / 1.149 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.346e-06/1.157, allocations: 0 / 1.149 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.112e-05/1.157, allocations: 0 / 1.149 GB, free: 5.012 MB / 0.9044 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.008027/1.165, allocations: 1.72 MB / 1.15 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.166, allocations: 8.031 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.167, allocations: 194.4 kB / 1.151 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/1.171, allocations: 1.041 MB / 1.152 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/1.171, allocations: 52.92 kB / 1.152 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.171, allocations: 60 kB / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/1.173, allocations: 0.6037 MB / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.173, allocations: 0 / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.174, allocations: 24 kB / 1.152 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/1.174, allocations: 21 kB / 1.152 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/1.176, allocations: 0.6207 MB / 1.153 GB, free: 0.5586 MB / 0.9044 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.008425/1.185, allocations: 2.665 MB / 1.155 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.187, allocations: 0.5373 MB / 1.156 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/1.188, allocations: 354 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/1.189, allocations: 292 kB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.189, allocations: 38.56 kB / 1.157 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001702/1.191, allocations: 159.5 kB / 1.157 GB, free: 12.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 4.429e-06/1.191, allocations: 0 / 1.157 GB, free: 12.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.004906/1.196, allocations: 1.02 MB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/1.196, allocations: 63.3 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/1.2, allocations: 1.271 MB / 1.159 GB, free: 9.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.2, allocations: 41.7 kB / 1.159 GB, free: 9.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/1.201, allocations: 433.7 kB / 1.16 GB, free: 9.445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/1.201, allocations: 149.8 kB / 1.16 GB, free: 9.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.201, allocations: 117.9 kB / 1.16 GB, free: 9.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.202, allocations: 322 kB / 1.16 GB, free: 8.855 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/1.203, allocations: 270.2 kB / 1.16 GB, free: 8.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/1.204, allocations: 490.7 kB / 1.161 GB, free: 8.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/1.207, allocations: 0.5869 MB / 1.161 GB, free: 7.445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.207, allocations: 0 / 1.161 GB, free: 7.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003767/1.211, allocations: 0.7456 MB / 1.162 GB, free: 6.691 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/1.211, allocations: 4 kB / 1.162 GB, free: 6.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.211, allocations: 4 kB / 1.162 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/1.211, allocations: 4 kB / 1.162 GB, free: 6.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.212, allocations: 115.8 kB / 1.162 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.212, allocations: 0 / 1.162 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.216, allocations: 115.6 kB / 1.162 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/1.216, allocations: 23.98 kB / 1.162 GB, free: 6.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001937/1.218, allocations: 463.9 kB / 1.163 GB, free: 5.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001421/1.219, allocations: 497.8 kB / 1.163 GB, free: 5.406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002038/1.221, allocations: 0.5757 MB / 1.164 GB, free: 4.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.207e-06/1.221, allocations: 0 / 1.164 GB, free: 4.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.003346/1.225, allocations: 0.7382 MB / 1.165 GB, free: 4.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.225, allocations: 4 kB / 1.165 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.225, allocations: 0 / 1.165 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/1.225, allocations: 4 kB / 1.165 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.226, allocations: 123.8 kB / 1.165 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.226, allocations: 4 kB / 1.165 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.229, allocations: 132.3 kB / 1.165 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.229, allocations: 31.89 kB / 1.165 GB, free: 3.785 MB / 0.92 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.0003866/1.23, allocations: 208.1 kB / 1.165 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.23, allocations: 102.7 kB / 1.165 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/1.234, allocations: 0.8109 MB / 1.166 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.234, allocations: 4 kB / 1.166 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.234, allocations: 0 / 1.166 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.234, allocations: 3.984 kB / 1.166 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006098/1.24, allocations: 1.948 MB / 1.168 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.24, allocations: 0 / 1.168 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.241, allocations: 107.9 kB / 1.168 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/1.241, allocations: 7.938 kB / 1.168 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/1.241, allocations: 16 kB / 1.168 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.241, allocations: 7.938 kB / 1.168 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.241, allocations: 4 kB / 1.168 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/1.246, allocations: 1.233 MB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009798/1.247, allocations: 295.6 kB / 1.17 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.247, allocations: 11.94 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.249, allocations: 71.97 kB / 1.17 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.249, allocations: 39.95 kB / 1.17 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/1.249, allocations: 19.98 kB / 1.17 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00274/1.252, allocations: 0.9286 MB / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/1.252, allocations: 0 / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002202/1.254, allocations: 407.4 kB / 1.171 GB, free: 13.42 MB / 0.9356 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.0008274/1.255, allocations: 226.6 kB / 1.171 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004003/1.259, allocations: 1.01 MB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.259, allocations: 0 / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.26, allocations: 328.4 kB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.264, allocations: 432 kB / 1.173 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/1.269, allocations: 1.988 MB / 1.175 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/1.27, allocations: 1.045 MB / 1.176 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002291/1.272, allocations: 287.1 kB / 1.176 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/1.273, allocations: 99.38 kB / 1.176 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of SimCode: time 1.132e-06/1.273, allocations: 0 / 1.176 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.04706/1.32, allocations: 21.07 MB / 1.197 GB, free: 3.133 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches