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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00464/0.00464, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.165/1.165, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.217/2.217, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.503, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1525/0.6555, allocations: 185 MB / 1.204 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.6613, allocations: 4.271 MB / 1.208 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008355/0.6622, allocations: 23.81 kB / 1.208 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.6632, allocations: 433.6 kB / 1.208 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.666, allocations: 1.451 MB / 1.21 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.6686, allocations: 1.234 MB / 1.211 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.6711, allocations: 2.779 MB / 1.214 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.6723, allocations: 0.9208 MB / 1.215 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.6734, allocations: 0.8169 MB / 1.215 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.6742, allocations: 0.813 MB / 1.216 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.6743, allocations: 56 kB / 1.216 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.676, allocations: 1.364 MB / 1.218 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.6763, allocations: 338.7 kB / 1.218 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.6768, allocations: 0.5806 MB / 1.218 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.6783, allocations: 1.954 MB / 1.22 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6783, allocations: 0 / 1.22 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6783, allocations: 0 / 1.22 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.6784, allocations: 0 / 1.22 GB, free: 5.105 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.003145/0.6815, allocations: 1.491 MB / 1.222 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6815, allocations: 12.03 kB / 1.222 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/0.6817, allocations: 90.52 kB / 1.222 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.6823, allocations: 186.4 kB / 1.222 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6837, allocations: 1.034 MB / 1.223 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.6838, allocations: 52.92 kB / 1.223 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.684, allocations: 60 kB / 1.223 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.685, allocations: 0.6232 MB / 1.224 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.685, allocations: 0 / 1.224 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.6851, allocations: 20 kB / 1.224 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.6851, allocations: 28.92 kB / 1.224 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6863, allocations: 0.648 MB / 1.225 GB, free: 0.7383 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.003227/0.6895, allocations: 2.673 MB / 1.227 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.6905, allocations: 0.5568 MB / 1.228 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.6911, allocations: 357.4 kB / 1.228 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.6914, allocations: 307.1 kB / 1.228 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.6914, allocations: 38.56 kB / 1.228 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005862/0.692, allocations: 163.4 kB / 1.229 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.692, allocations: 0 / 1.229 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.001997/0.694, allocations: 1.051 MB / 1.23 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.6941, allocations: 55.41 kB / 1.23 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.6957, allocations: 1.271 MB / 1.231 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.6957, allocations: 37.7 kB / 1.231 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.696, allocations: 437.7 kB / 1.231 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.6961, allocations: 149.8 kB / 1.231 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.6962, allocations: 37.7 kB / 1.231 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.6963, allocations: 325.9 kB / 1.232 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.6968, allocations: 284.5 kB / 1.232 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.6975, allocations: 498.8 kB / 1.233 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6986, allocations: 0.6139 MB / 1.233 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6986, allocations: 3.938 kB / 1.233 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001301/0.6999, allocations: 0.7611 MB / 1.234 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.7, allocations: 89.48 kB / 1.234 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7, allocations: 0 / 1.234 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7, allocations: 4 kB / 1.234 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.7006, allocations: 131.8 kB / 1.234 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.7006, allocations: 0 / 1.234 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.7017, allocations: 128.1 kB / 1.234 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.7017, allocations: 27.97 kB / 1.234 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.7018, allocations: 4 kB / 1.234 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.7029, allocations: 0.6281 MB / 1.235 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.703, allocations: 0 / 1.235 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.703, allocations: 0 / 1.235 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.7035, allocations: 131.8 kB / 1.235 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7035, allocations: 4 kB / 1.235 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.7046, allocations: 131.1 kB / 1.235 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.7046, allocations: 23.95 kB / 1.235 GB, free: 5.52 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.0003088/0.705, allocations: 329 kB / 1.235 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7051, allocations: 98.78 kB / 1.236 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.7067, allocations: 0.8342 MB / 1.236 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.7067, allocations: 8 kB / 1.236 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7067, allocations: 7.938 kB / 1.236 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7067, allocations: 0 / 1.236 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.7093, allocations: 1.992 MB / 1.238 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7093, allocations: 0 / 1.238 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.7098, allocations: 107.9 kB / 1.238 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.7099, allocations: 8 kB / 1.238 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.7099, allocations: 20.2 kB / 1.238 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7099, allocations: 4 kB / 1.238 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.7099, allocations: 7.938 kB / 1.238 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7117, allocations: 1.267 MB / 1.24 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.7121, allocations: 295.6 kB / 1.24 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.7122, allocations: 15.94 kB / 1.24 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.7131, allocations: 79.97 kB / 1.24 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.7132, allocations: 39.89 kB / 1.24 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.7133, allocations: 23.98 kB / 1.24 GB, free: 244 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001189/0.7145, allocations: 0.9131 MB / 1.241 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7145, allocations: 0 / 1.241 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008673/0.7154, allocations: 415.4 kB / 1.241 GB, free: 14.91 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.002352/0.7177, allocations: 1.934 MB / 1.243 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.7194, allocations: 0.9707 MB / 1.244 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7194, allocations: 0 / 1.244 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.72, allocations: 356.1 kB / 1.245 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.7224, allocations: 456.8 kB / 1.245 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.7354, allocations: 9.316 MB / 1.254 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.7359, allocations: 1.045 MB / 1.255 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009085/0.7368, allocations: 295 kB / 1.255 GB, free: 184 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3731/1.11, allocations: 386.3 kB / 1.256 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.11, allocations: 0 / 1.256 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.13/4.24, allocations: 28.77 MB / 1.284 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/4.24, allocations: 242.8 kB / 1.284 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.318/9.558, allocations: 0 / 1.284 GB, free: 220.2 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > 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