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.001124/0.001124, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.254 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.469/2.469, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003603, allocations: 15.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6602, allocations: 142.4 MB / 0.9557 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2254/0.8856, allocations: 185 MB / 1.136 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008104/0.8938, allocations: 4.271 MB / 1.141 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.8954, allocations: 27.81 kB / 1.141 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.8968, allocations: 413.7 kB / 1.141 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.9012, allocations: 1.463 MB / 1.142 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.9047, allocations: 1.244 MB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003611/0.9084, allocations: 2.782 MB / 1.146 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.9099, allocations: 0.9128 MB / 1.147 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.9116, allocations: 0.813 MB / 1.148 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.913, allocations: 0.8169 MB / 1.149 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.9134, allocations: 60 kB / 1.149 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.9162, allocations: 1.364 MB / 1.15 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.9167, allocations: 334.7 kB / 1.15 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.9176, allocations: 0.5767 MB / 1.151 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.9196, allocations: 1.488 MB / 1.153 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9196, allocations: 0 / 1.153 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9196, allocations: 0 / 1.153 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.069e-05/0.9196, allocations: 0 / 1.153 GB, free: 5.316 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.004244/0.9239, allocations: 1.495 MB / 1.154 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.9239, allocations: 8.031 kB / 1.154 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/0.9249, allocations: 186.4 kB / 1.154 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.9271, allocations: 1.041 MB / 1.155 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.9273, allocations: 56.92 kB / 1.155 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.9275, allocations: 56 kB / 1.155 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.9288, allocations: 0.6232 MB / 1.156 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.9289, allocations: 4 kB / 1.156 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.929, allocations: 20 kB / 1.156 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.929, allocations: 17 kB / 1.156 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.9305, allocations: 0.6519 MB / 1.157 GB, free: 1.047 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.004907/0.9354, allocations: 2.673 MB / 1.159 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.9366, allocations: 0.5554 MB / 1.16 GB, free: 13.67 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/0.9373, allocations: 364.6 kB / 1.16 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.9378, allocations: 292 kB / 1.16 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.9378, allocations: 38.56 kB / 1.16 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000901/0.9387, allocations: 167.4 kB / 1.161 GB, free: 12.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 6.161e-06/0.9387, allocations: 0 / 1.161 GB, free: 12.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002575/0.9413, allocations: 1.055 MB / 1.162 GB, free: 11.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.9414, allocations: 67.36 kB / 1.162 GB, free: 11.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.9438, allocations: 1.267 MB / 1.163 GB, free: 10.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.9439, allocations: 37.7 kB / 1.163 GB, free: 10.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.9443, allocations: 433.7 kB / 1.163 GB, free: 9.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.9445, allocations: 153.8 kB / 1.163 GB, free: 9.715 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.9446, allocations: 37.64 kB / 1.163 GB, free: 9.672 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9447, allocations: 325.9 kB / 1.164 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.9453, allocations: 276.6 kB / 1.164 GB, free: 9.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.9462, allocations: 0.489 MB / 1.165 GB, free: 8.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9475, allocations: 0.6137 MB / 1.165 GB, free: 7.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9475, allocations: 0 / 1.165 GB, free: 7.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001763/0.9492, allocations: 0.7688 MB / 1.166 GB, free: 7.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.9493, allocations: 89.48 kB / 1.166 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9493, allocations: 4 kB / 1.166 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9494, allocations: 4 kB / 1.166 GB, free: 7.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.95, allocations: 123.8 kB / 1.166 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.9501, allocations: 3.984 kB / 1.166 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.9515, allocations: 133.1 kB / 1.166 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.9516, allocations: 15.98 kB / 1.166 GB, free: 6.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.9516, allocations: 4 kB / 1.166 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/0.953, allocations: 0.6319 MB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.953, allocations: 4 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.953, allocations: 0 / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.9536, allocations: 127.8 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9536, allocations: 4 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.9551, allocations: 123.1 kB / 1.167 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.9551, allocations: 31.84 kB / 1.167 GB, free: 5.832 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.0004482/0.9556, allocations: 329 kB / 1.167 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.9558, allocations: 98.78 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.9577, allocations: 0.8343 MB / 1.168 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.9578, allocations: 8 kB / 1.168 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9578, allocations: 0 / 1.168 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.9578, allocations: 7.984 kB / 1.168 GB, free: 4.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.9614, allocations: 1.96 MB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.9614, allocations: 4 kB / 1.17 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/0.9621, allocations: 124.1 kB / 1.17 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.9621, allocations: 4 kB / 1.17 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.9622, allocations: 23.92 kB / 1.17 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.9622, allocations: 4 kB / 1.17 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9622, allocations: 4 kB / 1.17 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.9646, allocations: 1.267 MB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.9651, allocations: 295.5 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.9653, allocations: 19.92 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.9665, allocations: 75.98 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.9666, allocations: 43.88 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.9667, allocations: 20 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0016/0.9683, allocations: 0.9208 MB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9683, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001306/0.9696, allocations: 399.4 kB / 1.173 GB, free: 15.24 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.0005074/0.9701, allocations: 221 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.9723, allocations: 0.9874 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9724, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.9731, allocations: 348.9 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.9761, allocations: 453.3 kB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.9791, allocations: 2.075 MB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.9798, allocations: 1.042 MB / 1.178 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.9802, allocations: 99.38 kB / 1.178 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.9802, allocations: 0 / 1.178 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.02541/1.006, allocations: 16.25 MB / 1.194 GB, free: 9.844 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