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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001396/0.001396, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.645 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 2.763/2.763, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.91 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8203, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.208/1.028, allocations: 187.4 MB / 1.2 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008469/1.037, allocations: 4.318 MB / 1.204 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.039, allocations: 23.81 kB / 1.204 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/1.04, allocations: 421.7 kB / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/1.045, allocations: 1.471 MB / 1.206 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/1.048, allocations: 1.216 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00339/1.051, allocations: 2.779 MB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/1.053, allocations: 0.9343 MB / 1.211 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/1.054, allocations: 0.8403 MB / 1.211 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.055, allocations: 0.8365 MB / 1.212 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/1.055, allocations: 68 kB / 1.212 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/1.058, allocations: 1.372 MB / 1.214 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/1.058, allocations: 350.7 kB / 1.214 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/1.059, allocations: 0.5711 MB / 1.214 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/1.061, allocations: 1.994 MB / 1.216 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.061, allocations: 0 / 1.216 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/1.061, allocations: 0 / 1.216 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.061, allocations: 0 / 1.216 GB, free: 5.402 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.00444/1.066, allocations: 1.724 MB / 1.218 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.066, allocations: 12.03 kB / 1.218 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/1.067, allocations: 186.4 kB / 1.218 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/1.068, allocations: 1.03 MB / 1.219 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/1.069, allocations: 64.86 kB / 1.219 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.069, allocations: 60 kB / 1.219 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/1.07, allocations: 0.6115 MB / 1.22 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.07, allocations: 0 / 1.22 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/1.07, allocations: 20 kB / 1.22 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/1.07, allocations: 17 kB / 1.22 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/1.071, allocations: 0.6285 MB / 1.221 GB, free: 0.9336 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.004055/1.075, allocations: 2.65 MB / 1.223 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.076, allocations: 0.5489 MB / 1.224 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/1.077, allocations: 349.3 kB / 1.224 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/1.077, allocations: 287.2 kB / 1.224 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.078, allocations: 46.55 kB / 1.224 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007097/1.078, allocations: 163.4 kB / 1.225 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.078, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002326/1.081, allocations: 1.015 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.081, allocations: 55.41 kB / 1.226 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/1.083, allocations: 1.267 MB / 1.227 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/1.083, allocations: 45.7 kB / 1.227 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/1.083, allocations: 433.7 kB / 1.227 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.083, allocations: 149.7 kB / 1.227 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.083, allocations: 118 kB / 1.228 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.083, allocations: 318 kB / 1.228 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/1.084, allocations: 278.2 kB / 1.228 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/1.085, allocations: 497 kB / 1.229 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.086, allocations: 0.5869 MB / 1.229 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.086, allocations: 7.938 kB / 1.229 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00158/1.088, allocations: 0.734 MB / 1.23 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.088, allocations: 7.938 kB / 1.23 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.088, allocations: 0 / 1.23 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.088, allocations: 0 / 1.23 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/1.088, allocations: 119.8 kB / 1.23 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.088, allocations: 7.984 kB / 1.23 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.09, allocations: 115.6 kB / 1.23 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/1.09, allocations: 27.97 kB / 1.23 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000825/1.091, allocations: 467.9 kB / 1.231 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007297/1.091, allocations: 481.9 kB / 1.231 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001112/1.093, allocations: 0.5834 MB / 1.232 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/1.093, allocations: 4 kB / 1.232 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001517/1.094, allocations: 0.7382 MB / 1.232 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.094, allocations: 9.875 kB / 1.232 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/1.094, allocations: 0 / 1.232 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/1.094, allocations: 0 / 1.232 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/1.095, allocations: 119.8 kB / 1.233 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.095, allocations: 8 kB / 1.233 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.096, allocations: 132.3 kB / 1.233 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/1.096, allocations: 23.97 kB / 1.233 GB, free: 4.168 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.0003305/1.097, allocations: 209.7 kB / 1.233 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.097, allocations: 102.7 kB / 1.233 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/1.099, allocations: 0.8186 MB / 1.234 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.099, allocations: 4 kB / 1.234 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.099, allocations: 4 kB / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.099, allocations: 3.984 kB / 1.234 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.102, allocations: 1.942 MB / 1.236 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.102, allocations: 4 kB / 1.236 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/1.102, allocations: 107.9 kB / 1.236 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/1.102, allocations: 7.938 kB / 1.236 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/1.102, allocations: 16 kB / 1.236 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.102, allocations: 15.81 kB / 1.236 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.102, allocations: 0 / 1.236 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.105, allocations: 1.232 MB / 1.237 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/1.105, allocations: 291.6 kB / 1.237 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.105, allocations: 19.94 kB / 1.237 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.106, allocations: 71.97 kB / 1.237 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.106, allocations: 31.95 kB / 1.237 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/1.106, allocations: 23.98 kB / 1.237 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00144/1.108, allocations: 0.9208 MB / 1.238 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.108, allocations: 0 / 1.238 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001308/1.109, allocations: 407.4 kB / 1.239 GB, free: 13.79 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.0005436/1.11, allocations: 230.5 kB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.112, allocations: 0.9279 MB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.112, allocations: 0 / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006465/1.112, allocations: 335.6 kB / 1.24 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.115, allocations: 470.6 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/1.119, allocations: 1.998 MB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/1.119, allocations: 1.045 MB / 1.244 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001368/1.121, allocations: 295 kB / 1.244 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.121, allocations: 91.39 kB / 1.244 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.121, allocations: 0 / 1.244 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of Templates: time 0.6051/1.726, allocations: 20.58 MB / 1.264 GB, free: 231.9 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/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