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.005108/0.005108, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001155/0.001155, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.33/2.33, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.08 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2529, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7189/0.9719, allocations: 189.7 MB / 1.273 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006647/0.9786, allocations: 4.278 MB / 1.277 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.9796, allocations: 30.38 kB / 1.277 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.981, allocations: 0.4985 MB / 1.277 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.9848, allocations: 1.566 MB / 1.279 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.9884, allocations: 1.347 MB / 1.28 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.992, allocations: 2.266 MB / 1.282 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.9935, allocations: 1.08 MB / 1.283 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.9951, allocations: 0.9554 MB / 1.284 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.9962, allocations: 0.8709 MB / 1.285 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.9964, allocations: 140.8 kB / 1.285 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.999, allocations: 1.241 MB / 1.287 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.9995, allocations: 423.7 kB / 1.287 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007376/1, allocations: 0.6512 MB / 1.288 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/1.003, allocations: 1.971 MB / 1.29 GB, free: 2.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.003, allocations: 5 kB / 1.29 GB, free: 2.793 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.003, allocations: 1 kB / 1.29 GB, free: 2.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.003, allocations: 1.125 kB / 1.29 GB, free: 2.793 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.00404/1.007, allocations: 1.723 MB / 1.291 GB, free: 1.965 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.007, allocations: 10.17 kB / 1.291 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.007, allocations: 87.83 kB / 1.291 GB, free: 1.926 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/1.008, allocations: 191.6 kB / 1.292 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.01, allocations: 1.07 MB / 1.293 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/1.01, allocations: 43.22 kB / 1.293 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.01, allocations: 56.28 kB / 1.293 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/1.011, allocations: 0.6147 MB / 1.293 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.011, allocations: 1.219 kB / 1.293 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/1.011, allocations: 25.56 kB / 1.293 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.011, allocations: 19.38 kB / 1.293 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.012, allocations: 0.6223 MB / 1.294 GB, free: 1.457 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.00388/1.016, allocations: 2.655 MB / 1.297 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.018, allocations: 0.5417 MB / 1.297 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/1.018, allocations: 352 kB / 1.297 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/1.019, allocations: 290.7 kB / 1.298 GB, free: 16.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.019, allocations: 38.09 kB / 1.298 GB, free: 16.29 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006512/1.019, allocations: 146.4 kB / 1.298 GB, free: 16.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/1.019, allocations: 0.9375 kB / 1.298 GB, free: 16.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002381/1.022, allocations: 1.03 MB / 1.299 GB, free: 16.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.022, allocations: 56.12 kB / 1.299 GB, free: 16.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.024, allocations: 1.272 MB / 1.3 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/1.024, allocations: 38.8 kB / 1.3 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/1.024, allocations: 438.7 kB / 1.301 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.024, allocations: 143.3 kB / 1.301 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.024, allocations: 119.3 kB / 1.301 GB, free: 15.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.025, allocations: 322.8 kB / 1.301 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/1.025, allocations: 269 kB / 1.301 GB, free: 15.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/1.026, allocations: 491.1 kB / 1.302 GB, free: 15.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.027, allocations: 0.5839 MB / 1.302 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.027, allocations: 1.094 kB / 1.302 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00147/1.029, allocations: 0.736 MB / 1.303 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.029, allocations: 4.812 kB / 1.303 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.029, allocations: 7.953 kB / 1.303 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.029, allocations: 7.031 kB / 1.303 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/1.029, allocations: 118.6 kB / 1.303 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/1.029, allocations: 3.25 kB / 1.303 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.03, allocations: 94.2 kB / 1.303 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/1.031, allocations: 22.53 kB / 1.303 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007925/1.031, allocations: 466.9 kB / 1.304 GB, free: 14.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007243/1.032, allocations: 493.3 kB / 1.304 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/1.033, allocations: 0.5777 MB / 1.305 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.033, allocations: 0 / 1.305 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001442/1.035, allocations: 0.736 MB / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.035, allocations: 7.156 kB / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/1.035, allocations: 0 / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-06/1.035, allocations: 3.5 kB / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/1.035, allocations: 121.9 kB / 1.306 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.035, allocations: 7.141 kB / 1.306 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.037, allocations: 125.5 kB / 1.306 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/1.037, allocations: 20.36 kB / 1.306 GB, free: 14.65 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.00019/1.037, allocations: 207.1 kB / 1.306 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/1.037, allocations: 99.22 kB / 1.306 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.039, allocations: 0.8111 MB / 1.307 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.039, allocations: 10.16 kB / 1.307 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.039, allocations: 0 / 1.307 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.039, allocations: 2.531 kB / 1.307 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/1.042, allocations: 1.954 MB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.042, allocations: 5.469 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/1.042, allocations: 107.1 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.042, allocations: 3.969 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/1.042, allocations: 17.94 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.042, allocations: 4.312 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.042, allocations: 2.938 kB / 1.309 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.044, allocations: 1.233 MB / 1.31 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/1.045, allocations: 300.9 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.045, allocations: 12.75 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/1.046, allocations: 63.33 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.046, allocations: 45.62 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/1.046, allocations: 19.91 kB / 1.311 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001335/1.048, allocations: 0.9221 MB / 1.312 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.048, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001181/1.049, allocations: 405.7 kB / 1.312 GB, free: 13.39 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.002838/1.052, allocations: 1.9 MB / 1.314 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001943/1.054, allocations: 0.9502 MB / 1.315 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.054, allocations: 2.312 kB / 1.315 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005892/1.054, allocations: 343.1 kB / 1.315 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.056, allocations: 426.7 kB / 1.315 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.068, allocations: 8.493 MB / 1.324 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.069, allocations: 1.045 MB / 1.325 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009908/1.07, allocations: 288.1 kB / 1.325 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/1.07, allocations: 391.7 kB / 1.325 GB, free: 9.691 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.07, allocations: 0 / 1.325 GB, free: 9.691 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05449/1.125, allocations: 30.17 MB / 1.355 GB, free: 52 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.478/10.6, allocations: 14.41 kB / 1.355 GB, free: 40 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 & 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