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.001539/0.001539, allocations: 114.4 kB / 16.37 MB, free: 6 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.001756/0.001756, allocations: 195.9 kB / 17.31 MB, free: 5.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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3111, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8064/1.118, allocations: 189.7 MB / 1.136 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008608/1.126, allocations: 4.287 MB / 1.141 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/1.128, allocations: 29.5 kB / 1.141 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.13, allocations: 0.5002 MB / 1.141 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004926/1.135, allocations: 1.562 MB / 1.143 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003875/1.139, allocations: 1.344 MB / 1.144 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003859/1.142, allocations: 2.278 MB / 1.146 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/1.144, allocations: 1.072 MB / 1.147 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/1.146, allocations: 0.951 MB / 1.148 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/1.147, allocations: 0.8741 MB / 1.149 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/1.148, allocations: 139.6 kB / 1.149 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/1.15, allocations: 1.245 MB / 1.15 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/1.151, allocations: 426.6 kB / 1.151 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006528/1.151, allocations: 0.651 MB / 1.151 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/1.154, allocations: 1.964 MB / 1.153 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.154, allocations: 1.344 kB / 1.153 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/1.154, allocations: 7.938 kB / 1.153 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.267e-05/1.154, allocations: 0 / 1.153 GB, free: 1.938 MB / 0.8575 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.004574/1.159, allocations: 1.717 MB / 1.155 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.159, allocations: 11.8 kB / 1.155 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/1.16, allocations: 184.2 kB / 1.155 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/1.162, allocations: 1.069 MB / 1.156 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/1.162, allocations: 41.16 kB / 1.156 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.162, allocations: 65.44 kB / 1.156 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.163, allocations: 0.6129 MB / 1.157 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.163, allocations: 4 kB / 1.157 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/1.163, allocations: 20.12 kB / 1.157 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.163, allocations: 17.72 kB / 1.157 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.165, allocations: 0.6215 MB / 1.158 GB, free: 15.74 MB / 0.8731 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.004446/1.169, allocations: 2.66 MB / 1.16 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.17, allocations: 0.5374 MB / 1.161 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/1.171, allocations: 347.8 kB / 1.161 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/1.171, allocations: 293.4 kB / 1.161 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.171, allocations: 40.59 kB / 1.161 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008363/1.172, allocations: 145 kB / 1.161 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/1.172, allocations: 0 / 1.161 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.002537/1.175, allocations: 1.023 MB / 1.162 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.175, allocations: 59.78 kB / 1.162 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.177, allocations: 1.27 MB / 1.164 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/1.177, allocations: 43.23 kB / 1.164 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/1.177, allocations: 433.5 kB / 1.164 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.178, allocations: 146.7 kB / 1.164 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.178, allocations: 125.9 kB / 1.164 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.178, allocations: 318 kB / 1.165 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/1.178, allocations: 270.1 kB / 1.165 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/1.179, allocations: 490.8 kB / 1.165 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.181, allocations: 0.5858 MB / 1.166 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.181, allocations: 5.625 kB / 1.166 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001706/1.182, allocations: 0.7422 MB / 1.167 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.182, allocations: 4.438 kB / 1.167 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.182, allocations: 1.406 kB / 1.167 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.182, allocations: 1.469 kB / 1.167 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/1.183, allocations: 120.2 kB / 1.167 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.183, allocations: 4.281 kB / 1.167 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.184, allocations: 97.53 kB / 1.167 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/1.185, allocations: 27.55 kB / 1.167 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008844/1.185, allocations: 463.7 kB / 1.167 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007778/1.186, allocations: 0.4908 MB / 1.168 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/1.187, allocations: 0.5759 MB / 1.169 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/1.187, allocations: 4 kB / 1.169 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001606/1.189, allocations: 0.7241 MB / 1.169 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.189, allocations: 8.906 kB / 1.169 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/1.189, allocations: 2.031 kB / 1.169 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/1.189, allocations: 6.312 kB / 1.169 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/1.19, allocations: 118.7 kB / 1.169 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.19, allocations: 2.188 kB / 1.169 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.191, allocations: 134.5 kB / 1.169 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.191, allocations: 26.83 kB / 1.17 GB, free: 9.723 MB / 0.8731 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.0002439/1.191, allocations: 201.8 kB / 1.17 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/1.192, allocations: 106.8 kB / 1.17 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.194, allocations: 0.8073 MB / 1.171 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.194, allocations: 13.31 kB / 1.171 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.194, allocations: 0 / 1.171 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.194, allocations: 4.547 kB / 1.171 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/1.197, allocations: 1.947 MB / 1.173 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.197, allocations: 3 kB / 1.173 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/1.198, allocations: 110.4 kB / 1.173 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/1.198, allocations: 6.719 kB / 1.173 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/1.198, allocations: 16.8 kB / 1.173 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.198, allocations: 9.312 kB / 1.173 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.198, allocations: 2.812 kB / 1.173 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.2, allocations: 1.231 MB / 1.174 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/1.201, allocations: 293.7 kB / 1.174 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.201, allocations: 16.36 kB / 1.174 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.202, allocations: 63.23 kB / 1.174 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.202, allocations: 42.42 kB / 1.174 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/1.202, allocations: 26.45 kB / 1.174 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001449/1.204, allocations: 0.922 MB / 1.175 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.204, allocations: 0 / 1.175 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001371/1.205, allocations: 402.8 kB / 1.176 GB, free: 6.281 MB / 0.8731 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.0005197/1.205, allocations: 223.8 kB / 1.176 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.207, allocations: 0.9548 MB / 1.177 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.207, allocations: 0 / 1.177 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/1.208, allocations: 332 kB / 1.177 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.21, allocations: 436.9 kB / 1.177 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/1.213, allocations: 1.669 MB / 1.179 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/1.213, allocations: 1.04 MB / 1.18 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001021/1.214, allocations: 293.2 kB / 1.18 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.215, allocations: 99.72 kB / 1.18 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of SimCode: time 4.7e-07/1.215, allocations: 0 / 1.18 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.03411/1.249, allocations: 21.27 MB / 1.201 GB, free: 8.84 MB / 0.8887 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 -s gbode -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