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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005299/0.005299, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.00148/0.00148, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6933/0.9696, allocations: 189.6 MB / 1.427 GB, free: 6.578 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006801/0.9764, allocations: 4.208 MB / 1.431 GB, free: 3.137 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.9768, allocations: 29.53 kB / 1.431 GB, free: 3.125 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.978, allocations: 0.5064 MB / 1.431 GB, free: 2.695 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.9809, allocations: 1.538 MB / 1.433 GB, free: 1.484 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.9838, allocations: 1.338 MB / 1.434 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.9859, allocations: 2.192 MB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.9872, allocations: 1.059 MB / 1.437 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.9888, allocations: 1.149 MB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.9899, allocations: 0.8369 MB / 1.439 GB, free: 13.27 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.9901, allocations: 138.2 kB / 1.439 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.9922, allocations: 1.228 MB / 1.44 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.9926, allocations: 414.7 kB / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.9933, allocations: 0.6259 MB / 1.441 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.9956, allocations: 1.927 MB / 1.443 GB, free: 8.949 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.9956, allocations: 4 kB / 1.443 GB, free: 8.945 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9956, allocations: 0 / 1.443 GB, free: 8.945 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9956, allocations: 4 kB / 1.443 GB, free: 8.941 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004003/0.9996, allocations: 1.711 MB / 1.445 GB, free: 7.176 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9996, allocations: 12.02 kB / 1.445 GB, free: 7.164 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.9998, allocations: 87.53 kB / 1.445 GB, free: 7.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/1.001, allocations: 187.1 kB / 1.445 GB, free: 6.887 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/1.002, allocations: 1.057 MB / 1.446 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/1.002, allocations: 45 kB / 1.446 GB, free: 5.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.003, allocations: 59.94 kB / 1.446 GB, free: 5.672 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.004, allocations: 0.6076 MB / 1.447 GB, free: 5.059 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.004, allocations: 0 / 1.447 GB, free: 5.059 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/1.004, allocations: 20 kB / 1.447 GB, free: 5.039 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.004, allocations: 12 kB / 1.447 GB, free: 5.027 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.005, allocations: 0.6089 MB / 1.448 GB, free: 4.418 MB / 1.139 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.004082/1.01, allocations: 2.617 MB / 1.45 GB, free: 1.664 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/1.011, allocations: 0.5554 MB / 1.451 GB, free: 1.102 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/1.012, allocations: 352.4 kB / 1.451 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/1.012, allocations: 291.3 kB / 1.451 GB, free: 424 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.012, allocations: 42.5 kB / 1.451 GB, free: 372 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005875/1.013, allocations: 143.6 kB / 1.452 GB, free: 228 kB / 1.139 GB Notification: Performance of pre-optimization done (n=41): time 1.734e-06/1.013, allocations: 0 / 1.452 GB, free: 228 kB / 1.139 GB Notification: Performance of matching and sorting (n=41): time 0.002601/1.015, allocations: 1.021 MB / 1.453 GB, free: 15.19 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.015, allocations: 55.41 kB / 1.453 GB, free: 15.12 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.017, allocations: 1.229 MB / 1.454 GB, free: 13.88 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/1.017, allocations: 41.7 kB / 1.454 GB, free: 13.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/1.018, allocations: 425.8 kB / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.018, allocations: 150.6 kB / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.018, allocations: 113.6 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.018, allocations: 322 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/1.019, allocations: 272.7 kB / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/1.02, allocations: 485.1 kB / 1.456 GB, free: 12.01 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.021, allocations: 0.5788 MB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.021, allocations: 4 kB / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001674/1.023, allocations: 0.723 MB / 1.457 GB, free: 10.69 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.023, allocations: 4 kB / 1.457 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.023, allocations: 4 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.023, allocations: 4 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/1.024, allocations: 111.8 kB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.024, allocations: 0.6875 kB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.025, allocations: 97.52 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/1.025, allocations: 23.97 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008838/1.026, allocations: 459.7 kB / 1.457 GB, free: 10 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008981/1.027, allocations: 487 kB / 1.458 GB, free: 9.445 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/1.028, allocations: 0.5758 MB / 1.459 GB, free: 8.863 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/1.028, allocations: 0 / 1.459 GB, free: 8.863 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001669/1.03, allocations: 0.7271 MB / 1.459 GB, free: 8.129 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.03, allocations: 7.938 kB / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/1.03, allocations: 0 / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.94e-06/1.03, allocations: 6.875 kB / 1.459 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/1.03, allocations: 107.8 kB / 1.459 GB, free: 8.012 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.03, allocations: 3.984 kB / 1.459 GB, free: 8.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.032, allocations: 132.2 kB / 1.459 GB, free: 7.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/1.032, allocations: 25.53 kB / 1.459 GB, free: 7.855 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 (42): * Single equations (assignments): 42 * 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.0001805/1.032, allocations: 208.1 kB / 1.46 GB, free: 7.645 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.032, allocations: 107.3 kB / 1.46 GB, free: 7.539 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/1.034, allocations: 0.7986 MB / 1.461 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.034, allocations: 8 kB / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/1.034, allocations: 0 / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.034, allocations: 3.984 kB / 1.461 GB, free: 6.715 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1.037, allocations: 1.916 MB / 1.462 GB, free: 4.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.037, allocations: 4 kB / 1.462 GB, free: 4.711 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.038, allocations: 112.1 kB / 1.463 GB, free: 4.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.038, allocations: 4 kB / 1.463 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/1.038, allocations: 12 kB / 1.463 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.038, allocations: 11.92 kB / 1.463 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.038, allocations: 4 kB / 1.463 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/1.04, allocations: 1.225 MB / 1.464 GB, free: 3.301 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/1.041, allocations: 284.3 kB / 1.464 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.041, allocations: 8 kB / 1.464 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/1.042, allocations: 71.91 kB / 1.464 GB, free: 2.926 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.042, allocations: 39.89 kB / 1.464 GB, free: 2.887 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/1.042, allocations: 24.86 kB / 1.464 GB, free: 2.863 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001434/1.043, allocations: 0.8961 MB / 1.465 GB, free: 1.957 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.043, allocations: 0 / 1.465 GB, free: 1.957 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009702/1.044, allocations: 399.4 kB / 1.465 GB, free: 1.566 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.003049/1.047, allocations: 1.891 MB / 1.467 GB, free: 15.63 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.05, allocations: 0.9431 MB / 1.468 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.05, allocations: 3.938 kB / 1.468 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007221/1.05, allocations: 331.4 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.052, allocations: 429.4 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.066, allocations: 8.316 MB / 1.477 GB, free: 5.457 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/1.067, allocations: 1.029 MB / 1.478 GB, free: 4.402 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008865/1.067, allocations: 278.8 kB / 1.478 GB, free: 4.125 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/1.068, allocations: 379.3 kB / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of SimCode: time 3.2e-07/1.068, allocations: 0 / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/1.129, allocations: 29.68 MB / 1.508 GB, free: 6.449 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.554/10.68, allocations: 10.17 kB / 1.508 GB, free: 6.441 MB / 1.201 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 400 --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