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.001563/0.001563, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001743/0.001743, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 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.529/2.529, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 65.83 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3884, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9513/1.34, allocations: 189.7 MB / 1.136 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01137/1.351, allocations: 4.287 MB / 1.141 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/1.354, allocations: 28.06 kB / 1.141 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002431/1.356, allocations: 0.4943 MB / 1.141 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005531/1.362, allocations: 1.567 MB / 1.143 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/1.366, allocations: 1.341 MB / 1.144 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004301/1.37, allocations: 2.279 MB / 1.146 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.372, allocations: 1.083 MB / 1.147 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/1.374, allocations: 0.9541 MB / 1.148 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/1.376, allocations: 0.8696 MB / 1.149 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002544/1.376, allocations: 143.4 kB / 1.149 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/1.379, allocations: 1.24 MB / 1.15 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/1.38, allocations: 424.2 kB / 1.151 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008424/1.38, allocations: 0.6477 MB / 1.151 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/1.384, allocations: 1.978 MB / 1.153 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.384, allocations: 0 / 1.153 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/1.384, allocations: 0 / 1.153 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.946e-05/1.384, allocations: 0.9688 kB / 1.153 GB, free: 1.969 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.004685/1.389, allocations: 1.717 MB / 1.155 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.389, allocations: 13.59 kB / 1.155 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/1.39, allocations: 182.2 kB / 1.155 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/1.392, allocations: 1.067 MB / 1.156 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/1.392, allocations: 50 kB / 1.156 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.392, allocations: 61.16 kB / 1.156 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/1.393, allocations: 0.6125 MB / 1.157 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.393, allocations: 0 / 1.157 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/1.393, allocations: 20.34 kB / 1.157 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/1.394, allocations: 18.25 kB / 1.157 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.395, allocations: 0.6251 MB / 1.158 GB, free: 15.77 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.004803/1.4, allocations: 2.661 MB / 1.16 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.401, allocations: 0.5365 MB / 1.161 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/1.402, allocations: 348 kB / 1.161 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/1.402, allocations: 291.2 kB / 1.161 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.402, allocations: 42.03 kB / 1.161 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007383/1.403, allocations: 139.3 kB / 1.161 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/1.403, allocations: 0 / 1.161 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.002526/1.405, allocations: 1.031 MB / 1.162 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.405, allocations: 56.06 kB / 1.162 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.408, allocations: 1.27 MB / 1.164 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.624e-05/1.408, allocations: 39.42 kB / 1.164 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/1.408, allocations: 436.1 kB / 1.164 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/1.408, allocations: 150.3 kB / 1.164 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.409, allocations: 119.7 kB / 1.164 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.409, allocations: 325.2 kB / 1.165 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/1.409, allocations: 269.1 kB / 1.165 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/1.41, allocations: 487.3 kB / 1.165 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.411, allocations: 0.5884 MB / 1.166 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.411, allocations: 1.25 kB / 1.166 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001644/1.413, allocations: 0.7413 MB / 1.167 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.413, allocations: 11.38 kB / 1.167 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.413, allocations: 1.062 kB / 1.167 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.413, allocations: 1.25 kB / 1.167 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/1.414, allocations: 128.7 kB / 1.167 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.414, allocations: 5.125 kB / 1.167 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.415, allocations: 96.27 kB / 1.167 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.415, allocations: 23.88 kB / 1.167 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000857/1.416, allocations: 465.5 kB / 1.167 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008088/1.417, allocations: 494 kB / 1.168 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.418, allocations: 0.5797 MB / 1.169 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/1.418, allocations: 0 / 1.169 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001695/1.42, allocations: 0.7321 MB / 1.169 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.42, allocations: 10.77 kB / 1.169 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.42, allocations: 0 / 1.169 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/1.42, allocations: 2.719 kB / 1.169 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/1.42, allocations: 116.6 kB / 1.169 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.421, allocations: 2.719 kB / 1.169 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.422, allocations: 123.5 kB / 1.169 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/1.422, allocations: 23.66 kB / 1.169 GB, free: 9.754 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.0002508/1.422, allocations: 207.3 kB / 1.17 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/1.423, allocations: 106.8 kB / 1.17 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.424, allocations: 0.8137 MB / 1.171 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.424, allocations: 5.375 kB / 1.171 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.424, allocations: 0 / 1.171 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.424, allocations: 2.625 kB / 1.171 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/1.428, allocations: 1.954 MB / 1.172 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.428, allocations: 2.594 kB / 1.172 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/1.429, allocations: 104.5 kB / 1.173 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.429, allocations: 3.75 kB / 1.173 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/1.429, allocations: 15.97 kB / 1.173 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/1.429, allocations: 11 kB / 1.173 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.429, allocations: 2.281 kB / 1.173 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/1.432, allocations: 1.245 MB / 1.174 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/1.432, allocations: 295 kB / 1.174 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.433, allocations: 13.59 kB / 1.174 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/1.434, allocations: 67.12 kB / 1.174 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.434, allocations: 37.89 kB / 1.174 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/1.434, allocations: 17.41 kB / 1.174 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001574/1.435, allocations: 0.9256 MB / 1.175 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.435, allocations: 0 / 1.175 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001298/1.437, allocations: 402.9 kB / 1.176 GB, free: 6.32 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.0005594/1.437, allocations: 215 kB / 1.176 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002088/1.439, allocations: 0.9458 MB / 1.177 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.439, allocations: 2.562 kB / 1.177 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/1.44, allocations: 337.8 kB / 1.177 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.442, allocations: 449.1 kB / 1.177 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/1.445, allocations: 1.666 MB / 1.179 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/1.445, allocations: 1.044 MB / 1.18 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00122/1.447, allocations: 291.6 kB / 1.18 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/1.447, allocations: 94.78 kB / 1.18 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of SimCode: time 1.012e-06/1.447, allocations: 0 / 1.18 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of Templates: time 0.04059/1.488, allocations: 21.25 MB / 1.201 GB, free: 8.895 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 cvode -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