Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_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.007067/0.007067, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001615/0.001616, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.436/2.436, allocations: 469.4 MB / 0.7422 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.6696, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1825/0.8521, allocations: 189.7 MB / 1.405 GB, free: 3.875 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007139/0.8592, allocations: 4.29 MB / 1.409 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.8604, allocations: 27.81 kB / 1.409 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.8619, allocations: 0.5084 MB / 1.41 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.8658, allocations: 1.63 MB / 1.411 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.8692, allocations: 1.359 MB / 1.413 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.8722, allocations: 2.272 MB / 1.415 GB, free: 9.773 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.874, allocations: 1.089 MB / 1.416 GB, free: 8.668 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.8758, allocations: 0.9693 MB / 1.417 GB, free: 7.695 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.8773, allocations: 0.8717 MB / 1.418 GB, free: 6.82 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.8777, allocations: 140 kB / 1.418 GB, free: 6.684 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.8801, allocations: 1.247 MB / 1.419 GB, free: 5.434 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005975/0.8807, allocations: 418.7 kB / 1.419 GB, free: 5.023 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.8818, allocations: 0.6492 MB / 1.42 GB, free: 4.371 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.8848, allocations: 1.989 MB / 1.422 GB, free: 2.375 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8848, allocations: 0 / 1.422 GB, free: 2.375 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8848, allocations: 0 / 1.422 GB, free: 2.375 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.532e-05/0.8848, allocations: 0 / 1.422 GB, free: 2.375 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.004698/0.8896, allocations: 1.758 MB / 1.424 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8896, allocations: 12.62 kB / 1.424 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.8898, allocations: 90.52 kB / 1.424 GB, free: 464 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.8907, allocations: 191.1 kB / 1.424 GB, free: 272 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.8928, allocations: 1.077 MB / 1.425 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.8929, allocations: 44.94 kB / 1.425 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.893, allocations: 60 kB / 1.425 GB, free: 15.03 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.8943, allocations: 0.6076 MB / 1.426 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.8943, allocations: 0 / 1.426 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.8944, allocations: 20 kB / 1.426 GB, free: 14.4 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.8944, allocations: 17 kB / 1.426 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.8957, allocations: 0.6285 MB / 1.426 GB, free: 13.76 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.004362/0.9001, allocations: 2.678 MB / 1.429 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.9013, allocations: 0.5374 MB / 1.43 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.9019, allocations: 357.2 kB / 1.43 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.9023, allocations: 295.2 kB / 1.43 GB, free: 9.699 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.9024, allocations: 34.56 kB / 1.43 GB, free: 9.656 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007472/0.9031, allocations: 139.7 kB / 1.43 GB, free: 9.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 3.857e-06/0.9031, allocations: 3.938 kB / 1.43 GB, free: 9.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=43): time 0.002419/0.9056, allocations: 1.02 MB / 1.431 GB, free: 8.488 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.9056, allocations: 55.41 kB / 1.431 GB, free: 8.422 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.9077, allocations: 1.275 MB / 1.433 GB, free: 7.129 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.9078, allocations: 37.7 kB / 1.433 GB, free: 7.086 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.9082, allocations: 434 kB / 1.433 GB, free: 6.66 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.9083, allocations: 158.6 kB / 1.433 GB, free: 6.504 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.9086, allocations: 126 kB / 1.433 GB, free: 6.375 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9087, allocations: 318 kB / 1.434 GB, free: 6.059 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.9092, allocations: 274.2 kB / 1.434 GB, free: 5.789 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.91, allocations: 493.2 kB / 1.434 GB, free: 5.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.9112, allocations: 0.5831 MB / 1.435 GB, free: 4.645 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9112, allocations: 0 / 1.435 GB, free: 4.645 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001645/0.9129, allocations: 0.7537 MB / 1.436 GB, free: 3.883 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9129, allocations: 4 kB / 1.436 GB, free: 3.879 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9129, allocations: 0 / 1.436 GB, free: 3.879 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9129, allocations: 4 kB / 1.436 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.9136, allocations: 119.8 kB / 1.436 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.9136, allocations: 0 / 1.436 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.9149, allocations: 95.86 kB / 1.436 GB, free: 3.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.915, allocations: 23.97 kB / 1.436 GB, free: 3.641 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000845/0.9158, allocations: 471.9 kB / 1.436 GB, free: 3.176 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007386/0.9166, allocations: 477.8 kB / 1.437 GB, free: 2.629 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001126/0.9177, allocations: 0.5837 MB / 1.437 GB, free: 2.039 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.9177, allocations: 0 / 1.437 GB, free: 2.039 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001629/0.9194, allocations: 0.75 MB / 1.438 GB, free: 1.285 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9194, allocations: 8 kB / 1.438 GB, free: 1.277 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.9194, allocations: 0 / 1.438 GB, free: 1.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.9194, allocations: 3.938 kB / 1.438 GB, free: 1.273 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.92, allocations: 119.8 kB / 1.438 GB, free: 1.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.9201, allocations: 4 kB / 1.438 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.9215, allocations: 120.2 kB / 1.438 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.9216, allocations: 31.97 kB / 1.438 GB, free: 1.004 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.0002015/0.9218, allocations: 208.1 kB / 1.439 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.9221, allocations: 107.3 kB / 1.439 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.9239, allocations: 0.8032 MB / 1.439 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.9239, allocations: 4 kB / 1.439 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.9239, allocations: 0 / 1.439 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9239, allocations: 3.984 kB / 1.44 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.9272, allocations: 1.961 MB / 1.441 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.9272, allocations: 4 kB / 1.441 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.9278, allocations: 107.9 kB / 1.442 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.9278, allocations: 7.938 kB / 1.442 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.9279, allocations: 20.16 kB / 1.442 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.9279, allocations: 15.98 kB / 1.442 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9279, allocations: 4 kB / 1.442 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.93, allocations: 1.237 MB / 1.443 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.9306, allocations: 288.3 kB / 1.443 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.9308, allocations: 11.94 kB / 1.443 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.9319, allocations: 67.97 kB / 1.443 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.932, allocations: 43.89 kB / 1.443 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.9321, allocations: 19.98 kB / 1.443 GB, free: 11.95 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001533/0.9336, allocations: 0.9208 MB / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9336, allocations: 0 / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001257/0.9349, allocations: 411.4 kB / 1.444 GB, free: 10.61 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.002854/0.9377, allocations: 1.909 MB / 1.446 GB, free: 8.656 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.9398, allocations: 0.9405 MB / 1.447 GB, free: 7.715 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9398, allocations: 4 kB / 1.447 GB, free: 7.711 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.9404, allocations: 335.6 kB / 1.448 GB, free: 7.383 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.9426, allocations: 425.2 kB / 1.448 GB, free: 6.973 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.9565, allocations: 8.532 MB / 1.456 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.9571, allocations: 1.041 MB / 1.457 GB, free: 13.18 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9582, allocations: 287.1 kB / 1.458 GB, free: 12.89 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/0.9589, allocations: 391.3 kB / 1.458 GB, free: 12.51 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/0.9589, allocations: 0 / 1.458 GB, free: 12.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/1.015, allocations: 30.17 MB / 1.487 GB, free: 14.72 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.084/10.1, allocations: 19.77 kB / 1.487 GB, free: 14.7 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches