Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_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.006737/0.006737, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001214/0.001214, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.64 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7761/1.033, allocations: 189.7 MB / 1.273 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006631/1.04, allocations: 4.278 MB / 1.277 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/1.041, allocations: 26.75 kB / 1.277 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.042, allocations: 0.5026 MB / 1.277 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/1.045, allocations: 1.569 MB / 1.279 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/1.049, allocations: 1.352 MB / 1.28 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004013/1.053, allocations: 2.262 MB / 1.282 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/1.055, allocations: 1.074 MB / 1.283 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/1.057, allocations: 0.9555 MB / 1.284 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/1.058, allocations: 0.8731 MB / 1.285 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.058, allocations: 140.5 kB / 1.285 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/1.061, allocations: 1.24 MB / 1.287 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/1.062, allocations: 427.5 kB / 1.287 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008697/1.063, allocations: 0.6456 MB / 1.288 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/1.066, allocations: 1.973 MB / 1.29 GB, free: 2.871 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.066, allocations: 4.562 kB / 1.29 GB, free: 2.871 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/1.066, allocations: 0 / 1.29 GB, free: 2.871 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.837e-05/1.066, allocations: 1.312 kB / 1.29 GB, free: 2.871 MB / 1.014 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.004534/1.07, allocations: 1.722 MB / 1.291 GB, free: 2.043 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.07, allocations: 11.34 kB / 1.291 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/1.07, allocations: 90.2 kB / 1.291 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/1.071, allocations: 190.2 kB / 1.292 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/1.073, allocations: 1.068 MB / 1.293 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/1.073, allocations: 45.66 kB / 1.293 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.074, allocations: 60.27 kB / 1.293 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.075, allocations: 0.6109 MB / 1.293 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.075, allocations: 0 / 1.293 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/1.075, allocations: 23.72 kB / 1.293 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/1.075, allocations: 17.75 kB / 1.293 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.076, allocations: 0.6231 MB / 1.294 GB, free: 1.535 MB / 1.014 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.004192/1.081, allocations: 2.656 MB / 1.297 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.082, allocations: 0.5408 MB / 1.297 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/1.082, allocations: 349.9 kB / 1.297 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/1.083, allocations: 294 kB / 1.298 GB, free: 16.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.083, allocations: 37.53 kB / 1.298 GB, free: 16.36 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007416/1.084, allocations: 144.2 kB / 1.298 GB, free: 16.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/1.084, allocations: 0 / 1.298 GB, free: 16.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002398/1.086, allocations: 1.034 MB / 1.299 GB, free: 16.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.086, allocations: 55.97 kB / 1.299 GB, free: 16.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/1.088, allocations: 1.272 MB / 1.3 GB, free: 16.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/1.088, allocations: 37.11 kB / 1.3 GB, free: 16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/1.089, allocations: 438.5 kB / 1.301 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.089, allocations: 145.8 kB / 1.301 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.089, allocations: 118 kB / 1.301 GB, free: 15.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.089, allocations: 320.7 kB / 1.301 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/1.09, allocations: 273.7 kB / 1.301 GB, free: 15.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/1.09, allocations: 485 kB / 1.302 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.092, allocations: 0.5887 MB / 1.302 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.092, allocations: 0 / 1.302 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001744/1.093, allocations: 0.7388 MB / 1.303 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.093, allocations: 5.094 kB / 1.303 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.093, allocations: 2.219 kB / 1.303 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.094, allocations: 5.281 kB / 1.303 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/1.094, allocations: 125.6 kB / 1.303 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/1.094, allocations: 0.6562 kB / 1.303 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.096, allocations: 87.72 kB / 1.303 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/1.096, allocations: 26.89 kB / 1.303 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008384/1.096, allocations: 466.3 kB / 1.304 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000806/1.097, allocations: 489.8 kB / 1.304 GB, free: 14.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/1.098, allocations: 0.5786 MB / 1.305 GB, free: 14.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/1.098, allocations: 0 / 1.305 GB, free: 14.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001521/1.1, allocations: 0.7358 MB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.1, allocations: 8.312 kB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/1.1, allocations: 0 / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/1.1, allocations: 3.5 kB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.101, allocations: 124.1 kB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.101, allocations: 7.688 kB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.102, allocations: 131.1 kB / 1.306 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/1.102, allocations: 28 kB / 1.306 GB, free: 14.72 MB / 1.029 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.0002182/1.102, allocations: 204 kB / 1.306 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.103, allocations: 99.5 kB / 1.306 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/1.104, allocations: 0.8093 MB / 1.307 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.104, allocations: 10.28 kB / 1.307 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.104, allocations: 0 / 1.307 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.104, allocations: 3.5 kB / 1.307 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/1.107, allocations: 1.953 MB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.107, allocations: 3.125 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/1.108, allocations: 110.3 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.108, allocations: 5.688 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/1.108, allocations: 18.31 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.108, allocations: 4.344 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.108, allocations: 6.594 kB / 1.309 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.11, allocations: 1.232 MB / 1.31 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/1.111, allocations: 292.4 kB / 1.311 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.111, allocations: 13.5 kB / 1.311 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.112, allocations: 61.98 kB / 1.311 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.112, allocations: 46.17 kB / 1.311 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/1.112, allocations: 21.28 kB / 1.311 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001409/1.113, allocations: 0.9238 MB / 1.312 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.62e-07/1.113, allocations: 0.9375 kB / 1.312 GB, free: 13.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001253/1.115, allocations: 401.4 kB / 1.312 GB, free: 13.47 MB / 1.029 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.002921/1.118, allocations: 1.904 MB / 1.314 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.12, allocations: 0.9435 MB / 1.315 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.12, allocations: 1.75 kB / 1.315 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/1.12, allocations: 345.5 kB / 1.315 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.122, allocations: 434.1 kB / 1.315 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.135, allocations: 8.482 MB / 1.324 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/1.135, allocations: 1.046 MB / 1.325 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001052/1.136, allocations: 289.6 kB / 1.325 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/1.137, allocations: 388.7 kB / 1.325 GB, free: 9.758 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.137, allocations: 3.25 kB / 1.325 GB, free: 9.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/1.192, allocations: 30.18 MB / 1.355 GB, free: 128 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.701/10.89, allocations: 12.22 kB / 1.355 GB, free: 120 kB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches