Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001321/0.001321, allocations: 99.86 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.001493/0.001493, allocations: 177.3 kB / 15.94 MB, free: 228 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.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8287, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1878/1.017, allocations: 157.6 MB / 1.175 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008579/1.025, allocations: 4.138 MB / 1.179 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/1.027, allocations: 23.81 kB / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/1.029, allocations: 465.8 kB / 1.179 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/1.034, allocations: 1.472 MB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/1.037, allocations: 0.9133 MB / 1.182 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002887/1.04, allocations: 1.287 MB / 1.183 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.041, allocations: 0.8676 MB / 1.184 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/1.043, allocations: 0.8527 MB / 1.185 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008335/1.044, allocations: 0.6305 MB / 1.185 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/1.044, allocations: 60 kB / 1.185 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/1.045, allocations: 0.6553 MB / 1.186 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/1.046, allocations: 318.9 kB / 1.186 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/1.046, allocations: 221.1 kB / 1.186 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/1.048, allocations: 1.411 MB / 1.188 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.048, allocations: 0 / 1.188 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/1.048, allocations: 3.938 kB / 1.188 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.108e-05/1.048, allocations: 0 / 1.188 GB, free: 5.77 MB / 0.9356 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.004373/1.052, allocations: 1.491 MB / 1.189 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.052, allocations: 15.98 kB / 1.189 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009544/1.053, allocations: 186.5 kB / 1.189 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/1.055, allocations: 0.9953 MB / 1.19 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/1.055, allocations: 48.98 kB / 1.19 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.055, allocations: 71.94 kB / 1.19 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/1.056, allocations: 0.6115 MB / 1.191 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.057, allocations: 0 / 1.191 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/1.057, allocations: 20 kB / 1.191 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/1.057, allocations: 28.94 kB / 1.191 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/1.058, allocations: 0.6441 MB / 1.192 GB, free: 1.551 MB / 0.9356 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.004451/1.062, allocations: 2.665 MB / 1.194 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.064, allocations: 0.5686 MB / 1.195 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/1.064, allocations: 27.97 kB / 1.195 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.064, allocations: 34.56 kB / 1.195 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007454/1.064, allocations: 163.5 kB / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/1.064, allocations: 0 / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.002288/1.067, allocations: 1.043 MB / 1.196 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.067, allocations: 55.41 kB / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.069, allocations: 1.263 MB / 1.197 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/1.069, allocations: 37.7 kB / 1.197 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/1.069, allocations: 441.6 kB / 1.198 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/1.069, allocations: 153.7 kB / 1.198 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/1.069, allocations: 11.94 kB / 1.198 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.069, allocations: 318 kB / 1.198 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/1.07, allocations: 272.6 kB / 1.199 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/1.071, allocations: 491 kB / 1.199 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.071, allocations: 331.6 kB / 1.199 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.071, allocations: 0 / 1.199 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001548/1.073, allocations: 0.7496 MB / 1.2 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.569e-05/1.073, allocations: 93.48 kB / 1.2 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.073, allocations: 4 kB / 1.2 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/1.073, allocations: 7.938 kB / 1.2 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/1.074, allocations: 131.8 kB / 1.2 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.074, allocations: 0 / 1.2 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.075, allocations: 126.4 kB / 1.2 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/1.075, allocations: 31.91 kB / 1.2 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.075, allocations: 4 kB / 1.201 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/1.077, allocations: 0.632 MB / 1.201 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.077, allocations: 0 / 1.201 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/1.077, allocations: 0 / 1.201 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/1.077, allocations: 131.8 kB / 1.201 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.077, allocations: 3.984 kB / 1.201 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.079, allocations: 128.5 kB / 1.201 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/1.079, allocations: 19.98 kB / 1.201 GB, free: 7.375 MB / 0.9512 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.0004932/1.08, allocations: 337 kB / 1.202 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.08, allocations: 98.78 kB / 1.202 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/1.082, allocations: 0.8266 MB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.082, allocations: 7.938 kB / 1.203 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.082, allocations: 0 / 1.203 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.082, allocations: 3.984 kB / 1.203 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.085, allocations: 1.977 MB / 1.205 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.085, allocations: 4 kB / 1.205 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/1.085, allocations: 111.9 kB / 1.205 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.085, allocations: 4 kB / 1.205 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/1.085, allocations: 16 kB / 1.205 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.085, allocations: 7.953 kB / 1.205 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.085, allocations: 7.938 kB / 1.205 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.088, allocations: 1.375 MB / 1.206 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/1.088, allocations: 295.7 kB / 1.206 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.088, allocations: 15.94 kB / 1.206 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.089, allocations: 79.81 kB / 1.206 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.09, allocations: 51.84 kB / 1.206 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.09, allocations: 16 kB / 1.206 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001455/1.091, allocations: 0.9169 MB / 1.207 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 1.207 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001142/1.092, allocations: 403.4 kB / 1.208 GB, free: 0.6211 MB / 0.9512 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.0004909/1.093, allocations: 228 kB / 1.208 GB, free: 404 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001886/1.095, allocations: 0.959 MB / 1.209 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.095, allocations: 0 / 1.209 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/1.095, allocations: 344.1 kB / 1.209 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.098, allocations: 457.1 kB / 1.21 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/1.1, allocations: 1.939 MB / 1.212 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/1.101, allocations: 1.057 MB / 1.213 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001246/1.102, allocations: 295 kB / 1.213 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.103, allocations: 99.38 kB / 1.213 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/1.103, allocations: 0 / 1.213 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.03814/1.141, allocations: 19.76 MB / 1.232 GB, free: 7.68 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches