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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008639/0.000864, allocations: 92.16 kB / 16.02 MB, free: 80 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.001041/0.001041, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004037, allocations: 8 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.67/0.6704, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2107/0.8811, allocations: 185 MB / 1.204 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00877/0.8899, allocations: 4.286 MB / 1.209 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.8917, allocations: 27.75 kB / 1.209 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.8934, allocations: 417.7 kB / 1.209 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004704/0.8981, allocations: 1.455 MB / 1.21 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.9021, allocations: 1.229 MB / 1.212 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.9063, allocations: 2.79 MB / 1.214 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.9082, allocations: 0.913 MB / 1.215 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.9103, allocations: 0.813 MB / 1.216 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.9121, allocations: 0.8131 MB / 1.217 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.9126, allocations: 56 kB / 1.217 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.9157, allocations: 1.364 MB / 1.218 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.9165, allocations: 338.7 kB / 1.218 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.9177, allocations: 0.5806 MB / 1.219 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.92, allocations: 1.485 MB / 1.22 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9201, allocations: 0 / 1.22 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9201, allocations: 0 / 1.22 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.565e-05/0.9201, allocations: 3.938 kB / 1.22 GB, free: 5.594 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.00528/0.9254, allocations: 1.491 MB / 1.222 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.144e-05/0.9255, allocations: 12.03 kB / 1.222 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.9269, allocations: 190.3 kB / 1.222 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.9294, allocations: 1.034 MB / 1.223 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.9296, allocations: 60.92 kB / 1.223 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.9298, allocations: 56 kB / 1.223 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.9313, allocations: 0.6232 MB / 1.224 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.9314, allocations: 3.938 kB / 1.224 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.9315, allocations: 20 kB / 1.224 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.9315, allocations: 20.98 kB / 1.224 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.933, allocations: 0.6441 MB / 1.225 GB, free: 1.324 MB / 0.9669 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.005506/0.9385, allocations: 2.689 MB / 1.227 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.9398, allocations: 0.5567 MB / 1.228 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.9405, allocations: 357.4 kB / 1.228 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.941, allocations: 295.2 kB / 1.228 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.941, allocations: 38.56 kB / 1.228 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001031/0.9421, allocations: 167.4 kB / 1.229 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 7.314e-06/0.9421, allocations: 0 / 1.229 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002831/0.9449, allocations: 1.051 MB / 1.23 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.945, allocations: 59.34 kB / 1.23 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.9474, allocations: 1.271 MB / 1.231 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.9476, allocations: 37.7 kB / 1.231 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.948, allocations: 433.7 kB / 1.231 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.9482, allocations: 149.8 kB / 1.231 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.9483, allocations: 41.7 kB / 1.231 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9484, allocations: 325.9 kB / 1.232 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.9491, allocations: 276.6 kB / 1.232 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.9499, allocations: 498.8 kB / 1.233 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.9512, allocations: 0.6175 MB / 1.233 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9512, allocations: 0 / 1.233 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001833/0.9531, allocations: 0.7574 MB / 1.234 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/0.9532, allocations: 97.48 kB / 1.234 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9532, allocations: 0 / 1.234 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.9532, allocations: 3.938 kB / 1.234 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/0.9539, allocations: 131.8 kB / 1.234 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.9539, allocations: 0 / 1.234 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.9555, allocations: 134.6 kB / 1.234 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.9556, allocations: 23.97 kB / 1.234 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9556, allocations: 4 kB / 1.234 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001379/0.957, allocations: 0.6359 MB / 1.235 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.957, allocations: 4 kB / 1.235 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.957, allocations: 0 / 1.235 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.9576, allocations: 123.8 kB / 1.235 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9577, allocations: 0 / 1.235 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9592, allocations: 130.8 kB / 1.235 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.9593, allocations: 19.97 kB / 1.235 GB, free: 6.098 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.0005637/0.9598, allocations: 333 kB / 1.235 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.9602, allocations: 98.78 kB / 1.236 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.9621, allocations: 0.842 MB / 1.236 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9621, allocations: 4 kB / 1.236 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9622, allocations: 4 kB / 1.236 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9622, allocations: 0 / 1.236 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.9657, allocations: 1.977 MB / 1.238 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.9658, allocations: 4 kB / 1.238 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.9664, allocations: 112.2 kB / 1.238 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.9664, allocations: 4 kB / 1.238 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.9665, allocations: 23.92 kB / 1.238 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.9665, allocations: 11.88 kB / 1.238 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9665, allocations: 4 kB / 1.238 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.9688, allocations: 1.264 MB / 1.24 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.9694, allocations: 291.6 kB / 1.24 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.9697, allocations: 20 kB / 1.24 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.9709, allocations: 83.89 kB / 1.24 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.971, allocations: 35.95 kB / 1.24 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.971, allocations: 19.98 kB / 1.24 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001665/0.9727, allocations: 0.9247 MB / 1.241 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9727, allocations: 3.938 kB / 1.241 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001412/0.9741, allocations: 407.4 kB / 1.241 GB, free: 15.49 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.0005669/0.9747, allocations: 215.1 kB / 1.242 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.977, allocations: 0.9746 MB / 1.243 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.977, allocations: 0 / 1.243 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007203/0.9777, allocations: 352.1 kB / 1.243 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.9808, allocations: 462.2 kB / 1.243 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.9844, allocations: 2.078 MB / 1.245 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.9852, allocations: 1.045 MB / 1.246 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.9857, allocations: 99.38 kB / 1.246 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 2.524e-06/0.9857, allocations: 0 / 1.246 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.5489/1.535, allocations: 16.23 MB / 1.262 GB, free: 224.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=480 -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/jenkins1/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