Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001398/0.001404, allocations: 108 kB / 15.61 MB, free: 152 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.001677/0.001677, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.523/1.523, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.012/3.012, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7417, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2546/0.9963, allocations: 189.7 MB / 1.203 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008273/1.005, allocations: 4.269 MB / 1.207 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/1.006, allocations: 31.81 kB / 1.207 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.008, allocations: 0.4967 MB / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004532/1.012, allocations: 1.563 MB / 1.209 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/1.016, allocations: 1.333 MB / 1.21 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003963/1.02, allocations: 2.252 MB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/1.022, allocations: 1.081 MB / 1.213 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/1.025, allocations: 0.9498 MB / 1.214 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.027, allocations: 0.8678 MB / 1.215 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005075/1.027, allocations: 140 kB / 1.215 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/1.03, allocations: 1.236 MB / 1.216 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009538/1.031, allocations: 422.7 kB / 1.217 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/1.033, allocations: 0.6415 MB / 1.217 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004583/1.038, allocations: 1.959 MB / 1.219 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.038, allocations: 3.984 kB / 1.219 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/1.038, allocations: 0 / 1.219 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.119e-05/1.038, allocations: 0 / 1.219 GB, free: 2.941 MB / 0.9669 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.005714/1.044, allocations: 1.724 MB / 1.221 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.044, allocations: 8.031 kB / 1.221 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.045, allocations: 182.5 kB / 1.221 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/1.047, allocations: 1.037 MB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.047, allocations: 56.92 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/1.047, allocations: 60 kB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.049, allocations: 0.6192 MB / 1.223 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.049, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/1.049, allocations: 19.94 kB / 1.223 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/1.049, allocations: 21 kB / 1.223 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.05, allocations: 0.6207 MB / 1.224 GB, free: 14.48 MB / 0.9825 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.004531/1.055, allocations: 2.673 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.056, allocations: 0.5334 MB / 1.227 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/1.057, allocations: 357.2 kB / 1.227 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/1.057, allocations: 291.2 kB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.057, allocations: 38.56 kB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006928/1.058, allocations: 147.4 kB / 1.228 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 5.27e-06/1.058, allocations: 0 / 1.228 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002543/1.06, allocations: 1.015 MB / 1.229 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.061, allocations: 55.41 kB / 1.229 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/1.063, allocations: 1.271 MB / 1.23 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/1.063, allocations: 41.7 kB / 1.23 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/1.063, allocations: 425.7 kB / 1.23 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/1.063, allocations: 161.7 kB / 1.23 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.064, allocations: 118 kB / 1.231 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.064, allocations: 318 kB / 1.231 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/1.064, allocations: 278.2 kB / 1.231 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/1.065, allocations: 494.2 kB / 1.232 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.066, allocations: 0.5869 MB / 1.232 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.066, allocations: 0 / 1.232 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001679/1.068, allocations: 0.7378 MB / 1.233 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.068, allocations: 8 kB / 1.233 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.068, allocations: 0 / 1.233 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.068, allocations: 0 / 1.233 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/1.069, allocations: 119.8 kB / 1.233 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.069, allocations: 7.984 kB / 1.233 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.07, allocations: 91.86 kB / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/1.07, allocations: 27.97 kB / 1.233 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008766/1.071, allocations: 469.4 kB / 1.234 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008325/1.072, allocations: 481.9 kB / 1.234 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00122/1.073, allocations: 0.5804 MB / 1.235 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/1.073, allocations: 3.938 kB / 1.235 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001624/1.075, allocations: 0.746 MB / 1.235 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.075, allocations: 4 kB / 1.235 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/1.075, allocations: 0 / 1.235 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-06/1.075, allocations: 4 kB / 1.235 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/1.075, allocations: 115.8 kB / 1.235 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.075, allocations: 4 kB / 1.235 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.077, allocations: 128.2 kB / 1.236 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/1.077, allocations: 23.97 kB / 1.236 GB, free: 1.746 MB / 0.9825 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.0002569/1.077, allocations: 212.1 kB / 1.236 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.077, allocations: 102.7 kB / 1.236 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.079, allocations: 0.8031 MB / 1.237 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.079, allocations: 4 kB / 1.237 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.079, allocations: 0 / 1.237 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.079, allocations: 7.984 kB / 1.237 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/1.082, allocations: 1.961 MB / 1.239 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.082, allocations: 4 kB / 1.239 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.083, allocations: 111.8 kB / 1.239 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.083, allocations: 8.219 kB / 1.239 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.083, allocations: 12 kB / 1.239 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.083, allocations: 8 kB / 1.239 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.083, allocations: 0 / 1.239 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.085, allocations: 1.228 MB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/1.086, allocations: 291.6 kB / 1.24 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.086, allocations: 19.88 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/1.087, allocations: 59.98 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.087, allocations: 47.88 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/1.087, allocations: 16 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001539/1.089, allocations: 0.9247 MB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001161/1.09, allocations: 403.4 kB / 1.242 GB, free: 11.38 MB / 0.9981 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.0005865/1.091, allocations: 219 kB / 1.242 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002314/1.093, allocations: 0.9981 MB / 1.243 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.093, allocations: 0 / 1.243 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/1.094, allocations: 331.6 kB / 1.243 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.096, allocations: 436.1 kB / 1.244 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/1.098, allocations: 1.702 MB / 1.245 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/1.099, allocations: 1.041 MB / 1.246 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001261/1.1, allocations: 295 kB / 1.247 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.101, allocations: 95.39 kB / 1.247 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.101, allocations: 0 / 1.247 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of Templates: time 0.6277/1.729, allocations: 21.27 MB / 1.267 GB, free: 230.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches