Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.556/2.556, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5832, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7834/1.367, allocations: 242.4 MB / 1.254 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02117/1.388, allocations: 15.89 MB / 1.27 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/1.391, allocations: 76.22 kB / 1.27 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/1.395, allocations: 1.18 MB / 1.271 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/1.406, allocations: 3.818 MB / 1.275 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005915/1.411, allocations: 1.798 MB / 1.276 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008197/1.42, allocations: 5.257 MB / 1.281 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/1.422, allocations: 1.673 MB / 1.283 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/1.428, allocations: 2.592 MB / 1.286 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/1.432, allocations: 1.705 MB / 1.287 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/1.432, allocations: 174.9 kB / 1.287 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006228/1.439, allocations: 2.715 MB / 1.29 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000959/1.44, allocations: 0.7674 MB / 1.291 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/1.442, allocations: 1.148 MB / 1.292 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/1.447, allocations: 3.519 MB / 1.295 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.447, allocations: 0.9062 kB / 1.295 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.574e-06/1.447, allocations: 2.719 kB / 1.295 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.841e-05/1.447, allocations: 0.5312 kB / 1.295 GB, free: 1.148 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004077/1.451, allocations: 2.498 MB / 1.298 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/1.451, allocations: 7.406 kB / 1.298 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/1.452, allocations: 223.4 kB / 1.298 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/1.454, allocations: 0.4998 MB / 1.299 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.456, allocations: 1.273 MB / 1.3 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.456, allocations: 177.4 kB / 1.3 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.457, allocations: 156.1 kB / 1.3 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.459, allocations: 1.736 MB / 1.302 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/1.459, allocations: 5.969 kB / 1.302 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.459, allocations: 68.72 kB / 1.302 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/1.459, allocations: 58.73 kB / 1.302 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/1.462, allocations: 1.375 MB / 1.303 GB, free: 15.04 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.008734/1.47, allocations: 8.259 MB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.472, allocations: 0.8956 MB / 1.312 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/1.473, allocations: 0.5343 MB / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/1.473, allocations: 321.6 kB / 1.313 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/1.473, allocations: 52.52 kB / 1.313 GB, free: 9.848 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/1.473, allocations: 0 / 1.313 GB, free: 9.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.006464/1.48, allocations: 3.119 MB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.48, allocations: 63.72 kB / 1.316 GB, free: 9.156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.481, allocations: 1.264 MB / 1.317 GB, free: 8.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/1.481, allocations: 54.52 kB / 1.318 GB, free: 8.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/1.482, allocations: 0.8104 MB / 1.318 GB, free: 8.637 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/1.482, allocations: 365.7 kB / 1.319 GB, free: 8.406 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.482, allocations: 222.8 kB / 1.319 GB, free: 8.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.483, allocations: 351.4 kB / 1.319 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/1.483, allocations: 448.2 kB / 1.32 GB, free: 8.062 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.484, allocations: 0.8251 MB / 1.32 GB, free: 7.629 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/1.486, allocations: 1.257 MB / 1.322 GB, free: 7.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/1.486, allocations: 4.219 kB / 1.322 GB, free: 7.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002272/1.488, allocations: 1.41 MB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.488, allocations: 8.531 kB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.488, allocations: 8.5 kB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.489, allocations: 15.81 kB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.49, allocations: 279.1 kB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/1.49, allocations: 18.48 kB / 1.323 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.491, allocations: 71.53 kB / 1.323 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.491, allocations: 57.81 kB / 1.324 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001202/1.492, allocations: 0.7682 MB / 1.324 GB, free: 7.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/1.493, allocations: 0.8171 MB / 1.325 GB, free: 6.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001748/1.495, allocations: 1.234 MB / 1.326 GB, free: 6.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.704e-06/1.495, allocations: 5.094 kB / 1.326 GB, free: 6.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002174/1.497, allocations: 1.387 MB / 1.328 GB, free: 6.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.497, allocations: 15.86 kB / 1.328 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.497, allocations: 12.59 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.497, allocations: 15.5 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.498, allocations: 271.6 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/1.498, allocations: 21.72 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.5, allocations: 77.88 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/1.5, allocations: 51.73 kB / 1.328 GB, free: 6.113 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003109/1.5, allocations: 266 kB / 1.328 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/1.5, allocations: 166.3 kB / 1.328 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/1.502, allocations: 1.161 MB / 1.33 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.502, allocations: 19.52 kB / 1.33 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.502, allocations: 3.188 kB / 1.33 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/1.504, allocations: 1.078 MB / 1.331 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/1.509, allocations: 2.78 MB / 1.333 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.509, allocations: 3.406 kB / 1.333 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.51, allocations: 240.7 kB / 1.334 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.51, allocations: 7.906 kB / 1.334 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/1.51, allocations: 32.98 kB / 1.334 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/1.51, allocations: 9.906 kB / 1.334 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.51, allocations: 2.531 kB / 1.334 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/1.513, allocations: 1.768 MB / 1.335 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/1.514, allocations: 335.1 kB / 1.336 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/1.514, allocations: 21.72 kB / 1.336 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.515, allocations: 62.27 kB / 1.336 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.515, allocations: 68.08 kB / 1.336 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/1.516, allocations: 37.59 kB / 1.336 GB, free: 4.539 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001342/1.517, allocations: 0.8427 MB / 1.337 GB, free: 4.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.517, allocations: 0 / 1.337 GB, free: 4.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002753/1.52, allocations: 0.771 MB / 1.337 GB, free: 4.418 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.003726/1.523, allocations: 2.496 MB / 1.34 GB, free: 3.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003997/1.527, allocations: 1.995 MB / 1.342 GB, free: 3.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.527, allocations: 10.59 kB / 1.342 GB, free: 3.484 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/1.528, allocations: 0.515 MB / 1.342 GB, free: 3.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/1.533, allocations: 0.9085 MB / 1.343 GB, free: 3.332 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.552, allocations: 13.1 MB / 1.356 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.553, allocations: 1.44 MB / 1.357 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002155/1.555, allocations: 0.5597 MB / 1.358 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009187/1.556, allocations: 0.6883 MB / 1.359 GB, free: 10.44 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.556, allocations: 4 kB / 1.359 GB, free: 10.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/1.633, allocations: 44.63 MB / 1.402 GB, free: 2.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/10.06, allocations: 11.98 kB / 1.402 GB, free: 2.199 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches