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.001024/0.001024, allocations: 90.28 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.006702/0.006702, allocations: 171.2 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.599/2.599, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 8.281 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8573, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2667/1.124, allocations: 185 MB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0106/1.135, allocations: 4.273 MB / 1.14 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/1.137, allocations: 23.81 kB / 1.14 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/1.139, allocations: 421.6 kB / 1.14 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/1.143, allocations: 1.463 MB / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/1.148, allocations: 1.239 MB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004305/1.152, allocations: 2.779 MB / 1.146 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/1.154, allocations: 0.9089 MB / 1.147 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/1.156, allocations: 0.8208 MB / 1.147 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.158, allocations: 0.8209 MB / 1.148 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004502/1.159, allocations: 56 kB / 1.148 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/1.162, allocations: 1.364 MB / 1.15 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006335/1.163, allocations: 334.7 kB / 1.15 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009136/1.164, allocations: 0.5767 MB / 1.15 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/1.167, allocations: 1.951 MB / 1.152 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.167, allocations: 3.984 kB / 1.152 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.294e-06/1.167, allocations: 4 kB / 1.152 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.167, allocations: 0 / 1.152 GB, free: 4.703 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.003966/1.171, allocations: 1.495 MB / 1.154 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.171, allocations: 8.031 kB / 1.154 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000836/1.171, allocations: 182.5 kB / 1.154 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/1.173, allocations: 1.045 MB / 1.155 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.173, allocations: 56.92 kB / 1.155 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.174, allocations: 56 kB / 1.155 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.175, allocations: 0.6271 MB / 1.156 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.175, allocations: 0 / 1.156 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/1.175, allocations: 20 kB / 1.156 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.175, allocations: 17 kB / 1.156 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.176, allocations: 0.648 MB / 1.156 GB, free: 448 kB / 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.004024/1.18, allocations: 2.685 MB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.181, allocations: 0.549 MB / 1.16 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/1.182, allocations: 356.7 kB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/1.183, allocations: 292 kB / 1.16 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/1.183, allocations: 34.56 kB / 1.16 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007175/1.183, allocations: 167.4 kB / 1.16 GB, free: 12.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/1.183, allocations: 4 kB / 1.16 GB, free: 12.15 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.00244/1.186, allocations: 1.063 MB / 1.161 GB, free: 11.08 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/1.186, allocations: 63.3 kB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.188, allocations: 1.267 MB / 1.163 GB, free: 9.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/1.188, allocations: 41.7 kB / 1.163 GB, free: 9.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/1.189, allocations: 437.7 kB / 1.163 GB, free: 9.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/1.189, allocations: 149.8 kB / 1.163 GB, free: 9.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/1.189, allocations: 37.64 kB / 1.163 GB, free: 9.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.189, allocations: 329.9 kB / 1.164 GB, free: 8.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/1.19, allocations: 280.6 kB / 1.164 GB, free: 8.453 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/1.191, allocations: 492.7 kB / 1.164 GB, free: 7.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.192, allocations: 0.6098 MB / 1.165 GB, free: 7.285 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.192, allocations: 0 / 1.165 GB, free: 7.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001794/1.194, allocations: 0.7727 MB / 1.166 GB, free: 6.504 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.942e-05/1.194, allocations: 93.48 kB / 1.166 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.194, allocations: 0 / 1.166 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.194, allocations: 0 / 1.166 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/1.195, allocations: 127.8 kB / 1.166 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.195, allocations: 11.98 kB / 1.166 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.196, allocations: 119.6 kB / 1.166 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/1.196, allocations: 31.91 kB / 1.166 GB, free: 6.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.196, allocations: 4 kB / 1.166 GB, free: 6.121 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/1.198, allocations: 0.6241 MB / 1.167 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/1.198, allocations: 0 / 1.167 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/1.198, allocations: 4 kB / 1.167 GB, free: 5.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/1.198, allocations: 131.8 kB / 1.167 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/1.198, allocations: 4 kB / 1.167 GB, free: 5.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.199, allocations: 119.9 kB / 1.167 GB, free: 5.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/1.2, allocations: 23.97 kB / 1.167 GB, free: 5.223 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.0004983/1.2, allocations: 337 kB / 1.167 GB, free: 4.883 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.2, allocations: 98.78 kB / 1.167 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/1.202, allocations: 0.8304 MB / 1.168 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.202, allocations: 4 kB / 1.168 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.202, allocations: 0 / 1.168 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.202, allocations: 0 / 1.168 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.205, allocations: 1.971 MB / 1.17 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.205, allocations: 8.266 kB / 1.17 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/1.206, allocations: 115.8 kB / 1.17 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.206, allocations: 7.938 kB / 1.17 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/1.206, allocations: 19.92 kB / 1.17 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.206, allocations: 4 kB / 1.17 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.206, allocations: 7.938 kB / 1.17 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/1.208, allocations: 1.271 MB / 1.171 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/1.209, allocations: 291.6 kB / 1.172 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/1.209, allocations: 23.92 kB / 1.172 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.21, allocations: 75.97 kB / 1.172 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.21, allocations: 39.89 kB / 1.172 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/1.21, allocations: 19.98 kB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001533/1.212, allocations: 0.9208 MB / 1.173 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.212, allocations: 0 / 1.173 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001208/1.213, allocations: 407.4 kB / 1.173 GB, free: 14.62 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.0005261/1.214, allocations: 225.1 kB / 1.173 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.216, allocations: 0.9797 MB / 1.174 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.216, allocations: 0 / 1.174 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/1.216, allocations: 348.8 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.219, allocations: 467.7 kB / 1.175 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/1.222, allocations: 2.014 MB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/1.223, allocations: 1.049 MB / 1.178 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001203/1.224, allocations: 295 kB / 1.178 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.224, allocations: 95.33 kB / 1.179 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/1.224, allocations: 0 / 1.179 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.03384/1.258, allocations: 20.36 MB / 1.198 GB, free: 4.992 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