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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01095/0.01095, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.002361/0.002361, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001844, allocations: 63.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6258, allocations: 140.3 MB / 0.9496 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1976/0.8235, allocations: 187.5 MB / 1.133 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007895/0.8314, allocations: 4.311 MB / 1.137 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8329, allocations: 27.81 kB / 1.137 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.8346, allocations: 433.5 kB / 1.137 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.839, allocations: 1.454 MB / 1.139 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.8426, allocations: 1.233 MB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.846, allocations: 2.771 MB / 1.143 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.8476, allocations: 0.9341 MB / 1.144 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.8494, allocations: 0.8481 MB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.8509, allocations: 0.8404 MB / 1.145 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.8513, allocations: 71.94 kB / 1.145 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.8542, allocations: 1.368 MB / 1.147 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.8549, allocations: 354.7 kB / 1.147 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.8561, allocations: 0.5711 MB / 1.147 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.8581, allocations: 1.512 MB / 1.149 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8581, allocations: 7.984 kB / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8581, allocations: 0 / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.762e-05/0.8582, allocations: 0 / 1.149 GB, free: 5.379 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.005202/0.8634, allocations: 1.724 MB / 1.151 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.8634, allocations: 8.031 kB / 1.151 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.8645, allocations: 190.5 kB / 1.151 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.8666, allocations: 1.033 MB / 1.152 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8668, allocations: 52.92 kB / 1.152 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8669, allocations: 60 kB / 1.152 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.8682, allocations: 0.6154 MB / 1.153 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8682, allocations: 0 / 1.153 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.8683, allocations: 16 kB / 1.153 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.8683, allocations: 21 kB / 1.153 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.8697, allocations: 0.6207 MB / 1.153 GB, free: 0.9258 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.004577/0.8742, allocations: 2.665 MB / 1.156 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.8754, allocations: 0.5335 MB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.8761, allocations: 358.5 kB / 1.157 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/0.8765, allocations: 284 kB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.8765, allocations: 46.48 kB / 1.157 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008307/0.8773, allocations: 159.5 kB / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 4.418e-06/0.8774, allocations: 0 / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002489/0.8799, allocations: 1.02 MB / 1.158 GB, free: 11.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.8799, allocations: 63.36 kB / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.882, allocations: 1.267 MB / 1.159 GB, free: 10.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/0.8821, allocations: 41.7 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.8825, allocations: 425.7 kB / 1.16 GB, free: 9.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.8826, allocations: 153.8 kB / 1.16 GB, free: 9.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.8828, allocations: 113.9 kB / 1.16 GB, free: 9.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.883, allocations: 330 kB / 1.16 GB, free: 9.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.8836, allocations: 278.1 kB / 1.161 GB, free: 8.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.8843, allocations: 479 kB / 1.161 GB, free: 8.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.8855, allocations: 0.583 MB / 1.162 GB, free: 7.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8855, allocations: 3.938 kB / 1.162 GB, free: 7.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001608/0.8872, allocations: 0.7454 MB / 1.162 GB, free: 7.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8872, allocations: 11.94 kB / 1.162 GB, free: 7.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8872, allocations: 0 / 1.162 GB, free: 7.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8872, allocations: 0 / 1.162 GB, free: 7.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.8879, allocations: 123.8 kB / 1.163 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8879, allocations: 0 / 1.163 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.8892, allocations: 111.7 kB / 1.163 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.8893, allocations: 23.97 kB / 1.163 GB, free: 6.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008169/0.8901, allocations: 467.9 kB / 1.163 GB, free: 6.348 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007708/0.8909, allocations: 485.7 kB / 1.164 GB, free: 5.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001126/0.8921, allocations: 0.5759 MB / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.8921, allocations: 0 / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001619/0.8937, allocations: 0.7382 MB / 1.165 GB, free: 4.465 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.8937, allocations: 4 kB / 1.165 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8937, allocations: 4 kB / 1.165 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.8937, allocations: 0 / 1.165 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.8944, allocations: 123.8 kB / 1.165 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.8944, allocations: 0 / 1.165 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.896, allocations: 144.2 kB / 1.165 GB, free: 4.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.896, allocations: 23.97 kB / 1.165 GB, free: 4.172 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.0002117/0.8962, allocations: 204.1 kB / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.8965, allocations: 114.6 kB / 1.165 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.8983, allocations: 0.8031 MB / 1.166 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8984, allocations: 4 kB / 1.166 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8984, allocations: 0 / 1.166 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.8984, allocations: 3.984 kB / 1.166 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.9017, allocations: 1.956 MB / 1.168 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9018, allocations: 4 kB / 1.168 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.9024, allocations: 116.1 kB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.9024, allocations: 7.938 kB / 1.168 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/0.9025, allocations: 8 kB / 1.168 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.9025, allocations: 4 kB / 1.168 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9025, allocations: 4 kB / 1.168 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.9048, allocations: 1.232 MB / 1.17 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.9053, allocations: 295.6 kB / 1.17 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.9056, allocations: 15.94 kB / 1.17 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.9068, allocations: 71.97 kB / 1.17 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.9069, allocations: 43.89 kB / 1.17 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.907, allocations: 23.98 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001594/0.9086, allocations: 0.913 MB / 1.171 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9086, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001374/0.91, allocations: 411.4 kB / 1.171 GB, free: 13.79 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.0005762/0.9105, allocations: 213.5 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.9127, allocations: 0.9476 MB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9127, allocations: 0 / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.9133, allocations: 336.8 kB / 1.173 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.9158, allocations: 468.8 kB / 1.173 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.919, allocations: 2.039 MB / 1.175 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.9197, allocations: 1.042 MB / 1.176 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.9202, allocations: 95.38 kB / 1.176 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.9202, allocations: 0 / 1.176 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.0245/0.9447, allocations: 16.39 MB / 1.192 GB, free: 8.344 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/jenkins1/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