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.006946/0.006946, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001641/0.001641, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.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.14/2.14, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6548, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2089/0.8638, allocations: 189.7 MB / 1.273 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.8712, allocations: 4.283 MB / 1.277 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.8722, allocations: 27.81 kB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.8735, allocations: 0.5123 MB / 1.277 GB, free: 11.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.8771, allocations: 1.627 MB / 1.279 GB, free: 9.555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.8804, allocations: 1.358 MB / 1.28 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.883, allocations: 2.274 MB / 1.283 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.8843, allocations: 1.089 MB / 1.284 GB, free: 4.828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.8856, allocations: 0.9655 MB / 1.285 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.8865, allocations: 0.8716 MB / 1.285 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.8867, allocations: 140 kB / 1.286 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.8888, allocations: 1.251 MB / 1.287 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.8893, allocations: 422.7 kB / 1.287 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.8899, allocations: 0.6492 MB / 1.288 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.8922, allocations: 1.981 MB / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8922, allocations: 4 kB / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8922, allocations: 0 / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.8922, allocations: 0 / 1.29 GB, free: 14.54 MB / 1.029 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.004012/0.8963, allocations: 1.758 MB / 1.291 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.8963, allocations: 12.03 kB / 1.291 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.8964, allocations: 90.52 kB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.8973, allocations: 191.1 kB / 1.292 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.8991, allocations: 1.073 MB / 1.293 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.8991, allocations: 48.94 kB / 1.293 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.8993, allocations: 59.98 kB / 1.293 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.9005, allocations: 0.6153 MB / 1.293 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.9005, allocations: 0 / 1.293 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.9006, allocations: 16 kB / 1.293 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.9006, allocations: 17 kB / 1.294 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.902, allocations: 0.6246 MB / 1.294 GB, free: 9.91 MB / 1.029 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.004164/0.9062, allocations: 2.67 MB / 1.297 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.9074, allocations: 0.5423 MB / 1.297 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.9081, allocations: 356.1 kB / 1.298 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.9085, allocations: 295.2 kB / 1.298 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9085, allocations: 34.56 kB / 1.298 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006205/0.9091, allocations: 139.7 kB / 1.298 GB, free: 5.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.686e-06/0.9091, allocations: 7.922 kB / 1.298 GB, free: 5.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002361/0.9115, allocations: 1.032 MB / 1.299 GB, free: 4.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.9116, allocations: 55.41 kB / 1.299 GB, free: 4.562 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.9135, allocations: 1.275 MB / 1.3 GB, free: 3.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.9135, allocations: 37.7 kB / 1.3 GB, free: 3.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.9139, allocations: 434 kB / 1.301 GB, free: 2.797 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.914, allocations: 154.6 kB / 1.301 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.9142, allocations: 126 kB / 1.301 GB, free: 2.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9144, allocations: 318 kB / 1.301 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/0.9149, allocations: 274.2 kB / 1.302 GB, free: 1.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/0.9157, allocations: 489.2 kB / 1.302 GB, free: 1.375 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.917, allocations: 0.5831 MB / 1.303 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.917, allocations: 0 / 1.303 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001582/0.9186, allocations: 0.7459 MB / 1.303 GB, free: 36 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9186, allocations: 4 kB / 1.303 GB, free: 32 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9187, allocations: 7.922 kB / 1.303 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9187, allocations: 4 kB / 1.303 GB, free: 20 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.9194, allocations: 119.8 kB / 1.304 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.9194, allocations: 0 / 1.304 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.9206, allocations: 99.81 kB / 1.304 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.9207, allocations: 19.97 kB / 1.304 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008516/0.9216, allocations: 475.8 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007658/0.9223, allocations: 477.9 kB / 1.305 GB, free: 14.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.9235, allocations: 0.5798 MB / 1.305 GB, free: 14.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.9235, allocations: 0 / 1.305 GB, free: 14.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001558/0.9251, allocations: 0.7349 MB / 1.306 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.9251, allocations: 10.5 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.9251, allocations: 3.984 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.9251, allocations: 0 / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.9258, allocations: 127.8 kB / 1.306 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.9258, allocations: 0 / 1.306 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.9272, allocations: 128.3 kB / 1.306 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.9272, allocations: 27.91 kB / 1.306 GB, free: 13.15 MB / 1.045 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.0002129/0.9274, allocations: 208.4 kB / 1.306 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.9276, allocations: 107.3 kB / 1.306 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.9294, allocations: 0.8071 MB / 1.307 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.9295, allocations: 4 kB / 1.307 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9295, allocations: 0 / 1.307 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.9295, allocations: 3.984 kB / 1.307 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.9328, allocations: 1.956 MB / 1.309 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9328, allocations: 4 kB / 1.309 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.9334, allocations: 103.9 kB / 1.309 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.9334, allocations: 8 kB / 1.309 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.9334, allocations: 24.2 kB / 1.309 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.9334, allocations: 7.984 kB / 1.309 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9335, allocations: 7.938 kB / 1.309 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.9356, allocations: 1.233 MB / 1.31 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.9361, allocations: 300.2 kB / 1.311 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.9363, allocations: 11.94 kB / 1.311 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.9373, allocations: 67.97 kB / 1.311 GB, free: 8.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.9374, allocations: 39.95 kB / 1.311 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.9374, allocations: 16 kB / 1.311 GB, free: 8.102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001405/0.9389, allocations: 0.9247 MB / 1.312 GB, free: 7.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9389, allocations: 0 / 1.312 GB, free: 7.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001097/0.94, allocations: 407.5 kB / 1.312 GB, free: 6.77 MB / 1.045 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.002703/0.9427, allocations: 1.916 MB / 1.314 GB, free: 4.809 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.9447, allocations: 0.9373 MB / 1.315 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9447, allocations: 0 / 1.315 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.9454, allocations: 344 kB / 1.315 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.9474, allocations: 430.1 kB / 1.316 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.9602, allocations: 8.535 MB / 1.324 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.9608, allocations: 1.041 MB / 1.325 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009849/0.9618, allocations: 295 kB / 1.325 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/0.9624, allocations: 395.2 kB / 1.326 GB, free: 8.641 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.9625, allocations: 0 / 1.326 GB, free: 8.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/1.019, allocations: 30.16 MB / 1.355 GB, free: 10.88 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.472/10.49, allocations: 6.5 kB / 1.355 GB, free: 10.88 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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