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.0008634/0.0008634, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009076/0.0009078, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.289 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.506/2.506, allocations: 390.9 MB / 0.666 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 12 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9371, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2065/1.144, allocations: 172.6 MB / 1.123 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007529/1.151, allocations: 4.082 MB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/1.152, allocations: 23.81 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/1.154, allocations: 325.8 kB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003213/1.157, allocations: 1.135 MB / 1.128 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/1.16, allocations: 1.023 MB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003277/1.163, allocations: 2.388 MB / 1.132 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/1.164, allocations: 0.8442 MB / 1.133 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/1.166, allocations: 0.8209 MB / 1.133 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/1.167, allocations: 0.786 MB / 1.134 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/1.167, allocations: 56 kB / 1.134 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/1.169, allocations: 0.7951 MB / 1.135 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/1.169, allocations: 342.8 kB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/1.17, allocations: 221.1 kB / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/1.172, allocations: 1.461 MB / 1.137 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.172, allocations: 0 / 1.137 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.963e-06/1.172, allocations: 0 / 1.137 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.172, allocations: 0 / 1.137 GB, free: 4.152 MB / 0.8887 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.003919/1.175, allocations: 1.499 MB / 1.138 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.176, allocations: 12.03 kB / 1.138 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/1.176, allocations: 186.5 kB / 1.139 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.178, allocations: 1.003 MB / 1.14 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/1.178, allocations: 48.98 kB / 1.14 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.179, allocations: 56 kB / 1.14 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.18, allocations: 0.6232 MB / 1.14 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.18, allocations: 3.984 kB / 1.14 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/1.18, allocations: 23.98 kB / 1.14 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/1.18, allocations: 17 kB / 1.14 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.181, allocations: 0.648 MB / 1.141 GB, free: 15.92 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.004225/1.185, allocations: 2.669 MB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/1.187, allocations: 0.5529 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/1.187, allocations: 363 kB / 1.144 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/1.188, allocations: 292 kB / 1.145 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.188, allocations: 38.56 kB / 1.145 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007095/1.188, allocations: 159.5 kB / 1.145 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 4.198e-06/1.188, allocations: 0 / 1.145 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.002302/1.191, allocations: 1.063 MB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.191, allocations: 59.36 kB / 1.146 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.193, allocations: 1.263 MB / 1.147 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/1.193, allocations: 37.7 kB / 1.147 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.193, allocations: 441.7 kB / 1.148 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/1.194, allocations: 149.8 kB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/1.194, allocations: 8 kB / 1.148 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.194, allocations: 326 kB / 1.148 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/1.194, allocations: 272.6 kB / 1.148 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/1.195, allocations: 488.7 kB / 1.149 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/1.196, allocations: 315.7 kB / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.196, allocations: 7.891 kB / 1.149 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001526/1.197, allocations: 0.7535 MB / 1.15 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/1.197, allocations: 89.86 kB / 1.15 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.197, allocations: 4 kB / 1.15 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.197, allocations: 4 kB / 1.15 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/1.198, allocations: 131.8 kB / 1.15 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.198, allocations: 4 kB / 1.15 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.199, allocations: 115 kB / 1.15 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/1.199, allocations: 31.97 kB / 1.15 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/1.199, allocations: 7.938 kB / 1.15 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/1.2, allocations: 0.6239 MB / 1.151 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.2, allocations: 3.953 kB / 1.151 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/1.201, allocations: 4 kB / 1.151 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/1.201, allocations: 127.8 kB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/1.201, allocations: 0 / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.202, allocations: 128.7 kB / 1.151 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/1.202, allocations: 27.97 kB / 1.151 GB, free: 5.09 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004741/1.203, allocations: 329 kB / 1.151 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/1.203, allocations: 98.78 kB / 1.152 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/1.205, allocations: 0.8342 MB / 1.152 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.205, allocations: 4 kB / 1.152 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.205, allocations: 4 kB / 1.152 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.205, allocations: 3.984 kB / 1.152 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.208, allocations: 1.972 MB / 1.154 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.208, allocations: 0 / 1.154 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/1.208, allocations: 107.9 kB / 1.154 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/1.208, allocations: 8 kB / 1.154 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.208, allocations: 15.94 kB / 1.154 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.208, allocations: 4 kB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.208, allocations: 4.156 kB / 1.154 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.21, allocations: 1.271 MB / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/1.211, allocations: 299.7 kB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.211, allocations: 11.94 kB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/1.212, allocations: 79.88 kB / 1.156 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/1.212, allocations: 43.89 kB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.212, allocations: 27.94 kB / 1.156 GB, free: 15.83 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001357/1.213, allocations: 0.9129 MB / 1.157 GB, free: 14.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.213, allocations: 0 / 1.157 GB, free: 14.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001158/1.214, allocations: 403.4 kB / 1.157 GB, free: 14.51 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/1.215, allocations: 227.3 kB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.217, allocations: 0.9601 MB / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.217, allocations: 0 / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006177/1.217, allocations: 356.6 kB / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.22, allocations: 473.2 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.222, allocations: 1.932 MB / 1.161 GB, free: 10.53 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/1.223, allocations: 1.049 MB / 1.162 GB, free: 9.453 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001122/1.224, allocations: 287.1 kB / 1.163 GB, free: 9.168 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/1.224, allocations: 95.39 kB / 1.163 GB, free: 9.074 MB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/1.224, allocations: 0 / 1.163 GB, free: 9.074 MB / 0.92 GB Notification: Performance of Templates: time 0.03436/1.259, allocations: 19.77 MB / 1.182 GB, free: 5.574 MB / 0.9356 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