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.001215/0.001215, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.95 MB, free: 216 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.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.561/2.561, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8105, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1988/1.009, allocations: 157.6 MB / 1.107 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007815/1.017, allocations: 4.136 MB / 1.111 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/1.019, allocations: 23.81 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/1.021, allocations: 469.7 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/1.026, allocations: 1.472 MB / 1.113 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/1.029, allocations: 0.9081 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003275/1.032, allocations: 1.296 MB / 1.116 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/1.034, allocations: 0.8754 MB / 1.116 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/1.036, allocations: 0.845 MB / 1.117 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009589/1.037, allocations: 0.6383 MB / 1.118 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/1.037, allocations: 56 kB / 1.118 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/1.039, allocations: 0.663 MB / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/1.039, allocations: 311 kB / 1.119 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/1.039, allocations: 225.1 kB / 1.119 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/1.041, allocations: 1.414 MB / 1.12 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.041, allocations: 0 / 1.12 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/1.041, allocations: 4 kB / 1.12 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.474e-05/1.041, allocations: 0 / 1.12 GB, free: 4.832 MB / 0.8731 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.003947/1.045, allocations: 1.495 MB / 1.122 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.045, allocations: 8.031 kB / 1.122 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/1.046, allocations: 182.5 kB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/1.048, allocations: 1.003 MB / 1.123 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.048, allocations: 52.98 kB / 1.123 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/1.048, allocations: 56 kB / 1.123 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.05, allocations: 0.6193 MB / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.05, allocations: 0 / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/1.05, allocations: 20 kB / 1.124 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/1.05, allocations: 17 kB / 1.124 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/1.051, allocations: 0.6518 MB / 1.124 GB, free: 0.6172 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.005043/1.056, allocations: 2.666 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.057, allocations: 0.5724 MB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/1.057, allocations: 19.91 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.057, allocations: 38.56 kB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008996/1.058, allocations: 167.5 kB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 4.99e-06/1.058, allocations: 0 / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43): time 0.00254/1.061, allocations: 1.044 MB / 1.129 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.061, allocations: 67.41 kB / 1.129 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/1.063, allocations: 1.259 MB / 1.13 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.602e-05/1.063, allocations: 37.7 kB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/1.064, allocations: 437.7 kB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.064, allocations: 149.8 kB / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/1.064, allocations: 8 kB / 1.131 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.064, allocations: 326 kB / 1.131 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/1.065, allocations: 272.5 kB / 1.131 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/1.065, allocations: 479.1 kB / 1.132 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/1.066, allocations: 327.7 kB / 1.132 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.066, allocations: 0 / 1.132 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001584/1.068, allocations: 0.7534 MB / 1.133 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/1.068, allocations: 97.48 kB / 1.133 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.068, allocations: 7.984 kB / 1.133 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.068, allocations: 0 / 1.133 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/1.069, allocations: 119.8 kB / 1.133 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.069, allocations: 4 kB / 1.133 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.07, allocations: 128.7 kB / 1.133 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/1.07, allocations: 19.97 kB / 1.133 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.07, allocations: 4 kB / 1.133 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/1.071, allocations: 0.6359 MB / 1.134 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.071, allocations: 4 kB / 1.134 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/1.071, allocations: 7.891 kB / 1.134 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/1.072, allocations: 123.8 kB / 1.134 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.072, allocations: 4 kB / 1.134 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.073, allocations: 127.1 kB / 1.134 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/1.073, allocations: 23.98 kB / 1.134 GB, free: 6.453 MB / 0.8887 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.0005303/1.074, allocations: 321 kB / 1.134 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/1.074, allocations: 98.78 kB / 1.134 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.076, allocations: 0.8343 MB / 1.135 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.076, allocations: 8 kB / 1.135 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.076, allocations: 0 / 1.135 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.076, allocations: 7.984 kB / 1.135 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/1.079, allocations: 1.975 MB / 1.137 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.079, allocations: 0 / 1.137 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/1.08, allocations: 120.1 kB / 1.137 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.08, allocations: 8 kB / 1.137 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.08, allocations: 16 kB / 1.137 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.08, allocations: 4 kB / 1.137 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.08, allocations: 3.938 kB / 1.137 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/1.082, allocations: 1.383 MB / 1.139 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/1.083, allocations: 283.6 kB / 1.139 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.083, allocations: 23.94 kB / 1.139 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.084, allocations: 79.83 kB / 1.139 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.084, allocations: 43.94 kB / 1.139 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/1.084, allocations: 16 kB / 1.139 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001515/1.086, allocations: 0.9207 MB / 1.14 GB, free: 108 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 0 / 1.14 GB, free: 108 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001373/1.087, allocations: 403.4 kB / 1.14 GB, free: 15.71 MB / 0.9044 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.0005653/1.088, allocations: 221 kB / 1.141 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002058/1.09, allocations: 0.9589 MB / 1.142 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.09, allocations: 8 kB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/1.091, allocations: 340.9 kB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.093, allocations: 462.2 kB / 1.142 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/1.097, allocations: 1.938 MB / 1.144 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.098, allocations: 1.065 MB / 1.145 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001884/1.1, allocations: 295 kB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.101, allocations: 95.38 kB / 1.146 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of SimCode: time 3.316e-06/1.101, allocations: 3.938 kB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.03856/1.139, allocations: 19.76 MB / 1.165 GB, free: 6.773 MB / 0.92 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","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches