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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007272/0.007272, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.0018/0.0018, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 151.6 MB / 1.166 GB, free: 7.406 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8022/1.115, allocations: 189.7 MB / 1.351 GB, free: 3.371 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007682/1.123, allocations: 4.274 MB / 1.356 GB, free: 368 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.124, allocations: 28.66 kB / 1.356 GB, free: 356 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/1.125, allocations: 0.4985 MB / 1.356 GB, free: 32 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/1.129, allocations: 1.566 MB / 1.358 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.133, allocations: 1.348 MB / 1.359 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003892/1.137, allocations: 2.272 MB / 1.361 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/1.139, allocations: 1.078 MB / 1.362 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/1.141, allocations: 0.9512 MB / 1.363 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/1.143, allocations: 0.8762 MB / 1.364 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.143, allocations: 139.4 kB / 1.364 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/1.145, allocations: 1.246 MB / 1.365 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004702/1.146, allocations: 419.8 kB / 1.366 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007708/1.147, allocations: 0.6453 MB / 1.366 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002906/1.15, allocations: 1.984 MB / 1.368 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.15, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/1.15, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.195e-05/1.15, allocations: 1.156 kB / 1.368 GB, free: 9.555 MB / 1.045 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.004354/1.154, allocations: 1.764 MB / 1.37 GB, free: 8.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.154, allocations: 9.219 kB / 1.37 GB, free: 8.238 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.154, allocations: 91.33 kB / 1.37 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/1.155, allocations: 192.8 kB / 1.37 GB, free: 8.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.157, allocations: 1.075 MB / 1.371 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/1.157, allocations: 50.97 kB / 1.371 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.157, allocations: 63.28 kB / 1.371 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.158, allocations: 0.6069 MB / 1.372 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.158, allocations: 0 / 1.372 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.158, allocations: 22.03 kB / 1.372 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/1.158, allocations: 20.16 kB / 1.372 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.16, allocations: 0.6212 MB / 1.373 GB, free: 6.539 MB / 1.045 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.004315/1.164, allocations: 2.67 MB / 1.375 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.165, allocations: 0.5427 MB / 1.376 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/1.166, allocations: 353.8 kB / 1.376 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/1.166, allocations: 294.4 kB / 1.376 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.166, allocations: 36.59 kB / 1.376 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006276/1.167, allocations: 140.8 kB / 1.377 GB, free: 3.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/1.167, allocations: 0 / 1.377 GB, free: 3.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.002337/1.169, allocations: 1.023 MB / 1.378 GB, free: 3.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.169, allocations: 56.03 kB / 1.378 GB, free: 2.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/1.172, allocations: 1.272 MB / 1.379 GB, free: 2.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/1.172, allocations: 39.2 kB / 1.379 GB, free: 2.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/1.172, allocations: 436.4 kB / 1.379 GB, free: 1.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/1.172, allocations: 161.7 kB / 1.38 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.172, allocations: 116.4 kB / 1.38 GB, free: 1.664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.173, allocations: 323.6 kB / 1.38 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/1.173, allocations: 273.1 kB / 1.38 GB, free: 1.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/1.174, allocations: 489.9 kB / 1.381 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.175, allocations: 0.5745 MB / 1.381 GB, free: 0.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.175, allocations: 0 / 1.381 GB, free: 0.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001644/1.177, allocations: 0.7579 MB / 1.382 GB, free: 144 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.177, allocations: 9.031 kB / 1.382 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.177, allocations: 0 / 1.382 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/1.177, allocations: 2.75 kB / 1.382 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/1.178, allocations: 126.4 kB / 1.382 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.178, allocations: 2.625 kB / 1.382 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.179, allocations: 97.84 kB / 1.382 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.179, allocations: 30.75 kB / 1.382 GB, free: 28 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000889/1.18, allocations: 466.3 kB / 1.383 GB, free: 15.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008245/1.181, allocations: 485.6 kB / 1.383 GB, free: 15.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/1.182, allocations: 0.5861 MB / 1.384 GB, free: 15.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/1.182, allocations: 0 / 1.384 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001614/1.184, allocations: 0.7424 MB / 1.384 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.184, allocations: 7.688 kB / 1.384 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/1.184, allocations: 0 / 1.384 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/1.184, allocations: 2.344 kB / 1.384 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/1.184, allocations: 120.5 kB / 1.385 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/1.184, allocations: 2.094 kB / 1.385 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.186, allocations: 124.4 kB / 1.385 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/1.186, allocations: 27.06 kB / 1.385 GB, free: 14.57 MB / 1.061 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.0002601/1.186, allocations: 199.9 kB / 1.385 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/1.186, allocations: 113.1 kB / 1.385 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/1.188, allocations: 0.8037 MB / 1.386 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.188, allocations: 5.344 kB / 1.386 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.188, allocations: 0.5 kB / 1.386 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.188, allocations: 7.984 kB / 1.386 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/1.191, allocations: 1.957 MB / 1.388 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.192, allocations: 2.25 kB / 1.388 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/1.192, allocations: 116.8 kB / 1.388 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.192, allocations: 4.656 kB / 1.388 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.192, allocations: 13.03 kB / 1.388 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.192, allocations: 17.02 kB / 1.388 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.192, allocations: 2.688 kB / 1.388 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.195, allocations: 1.237 MB / 1.389 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/1.195, allocations: 292 kB / 1.389 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.195, allocations: 12.38 kB / 1.389 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/1.196, allocations: 66.78 kB / 1.389 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.196, allocations: 44.06 kB / 1.389 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/1.196, allocations: 20.64 kB / 1.389 GB, free: 11.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001551/1.198, allocations: 0.9223 MB / 1.39 GB, free: 10.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.198, allocations: 0 / 1.39 GB, free: 10.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001146/1.199, allocations: 411.5 kB / 1.391 GB, free: 10.76 MB / 1.061 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.002866/1.202, allocations: 1.903 MB / 1.393 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.204, allocations: 0.9414 MB / 1.394 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.204, allocations: 0 / 1.394 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/1.205, allocations: 339.1 kB / 1.394 GB, free: 8.828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.207, allocations: 433.6 kB / 1.394 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.221, allocations: 8.519 MB / 1.403 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/1.222, allocations: 1.041 MB / 1.404 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001256/1.224, allocations: 283.1 kB / 1.404 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/1.224, allocations: 391.3 kB / 1.404 GB, free: 124 kB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.224, allocations: 3.938 kB / 1.404 GB, free: 120 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/1.297, allocations: 30.18 MB / 1.434 GB, free: 2.34 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.962/11.26, allocations: 9.188 kB / 1.434 GB, free: 2.332 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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