Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_11_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.007436/0.007436, allocations: 100 kB / 15.73 MB, free: 5.609 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.002195/0.002195, allocations: 194 kB / 16.67 MB, free: 5.527 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 71.83 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6931, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2047/0.8978, allocations: 189.7 MB / 1.405 GB, free: 3.637 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007627/0.9055, allocations: 4.28 MB / 1.41 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.9066, allocations: 27.81 kB / 1.41 GB, free: 15.32 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.9081, allocations: 0.4967 MB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.9122, allocations: 1.569 MB / 1.412 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.9157, allocations: 1.35 MB / 1.413 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.9189, allocations: 2.268 MB / 1.415 GB, free: 9.629 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.9206, allocations: 1.093 MB / 1.416 GB, free: 8.52 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.9224, allocations: 0.942 MB / 1.417 GB, free: 7.574 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.9239, allocations: 0.8755 MB / 1.418 GB, free: 6.695 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.9243, allocations: 140 kB / 1.418 GB, free: 6.559 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.9268, allocations: 1.247 MB / 1.419 GB, free: 5.309 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.9274, allocations: 418.7 kB / 1.42 GB, free: 4.898 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.9284, allocations: 0.6453 MB / 1.42 GB, free: 4.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.9314, allocations: 1.981 MB / 1.422 GB, free: 2.262 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.9314, allocations: 4 kB / 1.422 GB, free: 2.258 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9314, allocations: 3.938 kB / 1.422 GB, free: 2.254 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.173e-05/0.9315, allocations: 0 / 1.422 GB, free: 2.254 MB / 1.139 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.004799/0.9363, allocations: 1.75 MB / 1.424 GB, free: 460 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.9364, allocations: 16.03 kB / 1.424 GB, free: 444 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.9365, allocations: 90.52 kB / 1.424 GB, free: 344 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.9374, allocations: 191.1 kB / 1.424 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.9396, allocations: 1.085 MB / 1.425 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.9397, allocations: 48.94 kB / 1.425 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.9398, allocations: 56 kB / 1.425 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.9411, allocations: 0.6076 MB / 1.426 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9411, allocations: 0 / 1.426 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.9412, allocations: 20 kB / 1.426 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.9412, allocations: 20.98 kB / 1.426 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.9426, allocations: 0.6207 MB / 1.427 GB, free: 13.64 MB / 1.154 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.004493/0.9471, allocations: 2.674 MB / 1.429 GB, free: 10.82 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.9483, allocations: 0.5398 MB / 1.43 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.949, allocations: 353.2 kB / 1.43 GB, free: 9.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.9495, allocations: 295.2 kB / 1.43 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.9495, allocations: 38.56 kB / 1.43 GB, free: 9.539 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006875/0.9502, allocations: 147.6 kB / 1.431 GB, free: 9.395 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 3.627e-06/0.9502, allocations: 0 / 1.431 GB, free: 9.395 MB / 1.154 GB Notification: Performance of matching and sorting (n=43): time 0.002506/0.9527, allocations: 1.016 MB / 1.432 GB, free: 8.371 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.9528, allocations: 55.41 kB / 1.432 GB, free: 8.305 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.955, allocations: 1.279 MB / 1.433 GB, free: 7.008 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.9551, allocations: 41.69 kB / 1.433 GB, free: 6.961 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.9555, allocations: 434 kB / 1.433 GB, free: 6.535 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.9557, allocations: 158.6 kB / 1.434 GB, free: 6.379 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.9559, allocations: 118 kB / 1.434 GB, free: 6.258 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9561, allocations: 326 kB / 1.434 GB, free: 5.934 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.9567, allocations: 274.2 kB / 1.434 GB, free: 5.664 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.9576, allocations: 493.2 kB / 1.435 GB, free: 5.105 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.9589, allocations: 0.5869 MB / 1.435 GB, free: 4.516 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9589, allocations: 0 / 1.435 GB, free: 4.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001683/0.9606, allocations: 0.7459 MB / 1.436 GB, free: 3.762 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9606, allocations: 7.938 kB / 1.436 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9606, allocations: 0 / 1.436 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9606, allocations: 4 kB / 1.436 GB, free: 3.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.9613, allocations: 119.8 kB / 1.436 GB, free: 3.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.9613, allocations: 4 kB / 1.436 GB, free: 3.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.9625, allocations: 95.81 kB / 1.436 GB, free: 3.535 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.9626, allocations: 23.97 kB / 1.436 GB, free: 3.512 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008886/0.9635, allocations: 471.9 kB / 1.437 GB, free: 3.047 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008148/0.9643, allocations: 477.8 kB / 1.437 GB, free: 2.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001223/0.9655, allocations: 0.5863 MB / 1.438 GB, free: 1.91 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.9656, allocations: 0 / 1.438 GB, free: 1.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00166/0.9672, allocations: 0.7427 MB / 1.438 GB, free: 1.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.9672, allocations: 8 kB / 1.438 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.9673, allocations: 0 / 1.438 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.9673, allocations: 0 / 1.438 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.9679, allocations: 123.8 kB / 1.439 GB, free: 1.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9679, allocations: 4 kB / 1.439 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.9693, allocations: 128.2 kB / 1.439 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.9693, allocations: 23.98 kB / 1.439 GB, free: 0.8789 MB / 1.154 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.0002158/0.9696, allocations: 206.5 kB / 1.439 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.9698, allocations: 111.3 kB / 1.439 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.9717, allocations: 0.8071 MB / 1.44 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.9717, allocations: 4 kB / 1.44 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9718, allocations: 0 / 1.44 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9718, allocations: 3.984 kB / 1.44 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.9752, allocations: 1.965 MB / 1.442 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.9752, allocations: 11.97 kB / 1.442 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.9758, allocations: 99.88 kB / 1.442 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.9758, allocations: 8.219 kB / 1.442 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.9759, allocations: 27.92 kB / 1.442 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.9759, allocations: 7.938 kB / 1.442 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9759, allocations: 4 kB / 1.442 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.9782, allocations: 1.237 MB / 1.443 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/0.9787, allocations: 284.3 kB / 1.443 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.9789, allocations: 15.94 kB / 1.443 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.9799, allocations: 67.97 kB / 1.443 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.98, allocations: 39.95 kB / 1.443 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.9801, allocations: 15.98 kB / 1.443 GB, free: 11.82 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001603/0.9817, allocations: 0.9247 MB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9817, allocations: 0 / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001229/0.9829, allocations: 407.4 kB / 1.445 GB, free: 10.49 MB / 1.17 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.003027/0.986, allocations: 1.904 MB / 1.447 GB, free: 8.535 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.9881, allocations: 0.9328 MB / 1.448 GB, free: 7.602 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.9882, allocations: 4 kB / 1.448 GB, free: 7.598 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.9888, allocations: 336.1 kB / 1.448 GB, free: 7.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.991, allocations: 434.1 kB / 1.448 GB, free: 6.852 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.006, allocations: 8.532 MB / 1.457 GB, free: 14.13 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.006, allocations: 1.041 MB / 1.458 GB, free: 13.06 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001101/1.007, allocations: 299 kB / 1.458 GB, free: 12.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/1.008, allocations: 391.3 kB / 1.458 GB, free: 12.38 MB / 1.186 GB Notification: Performance of SimCode: time 6.31e-07/1.008, allocations: 0 / 1.458 GB, free: 12.38 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/1.075, allocations: 30.17 MB / 1.488 GB, free: 14.59 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/10.7, allocations: 15.5 kB / 1.488 GB, free: 14.58 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 Buildings_11_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches