Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_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.005854/0.005854, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.001545/0.001545, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.228/1.228, 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 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.12 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 140.4 MB / 1.087 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6967/0.9575, allocations: 242.4 MB / 1.324 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.9741, allocations: 15.9 MB / 1.34 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.9764, allocations: 76.41 kB / 1.34 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.9786, allocations: 1.184 MB / 1.341 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.9865, allocations: 3.824 MB / 1.345 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.9903, allocations: 1.818 MB / 1.346 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00521/0.9955, allocations: 5.253 MB / 1.352 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.9971, allocations: 1.671 MB / 1.353 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/1.001, allocations: 2.633 MB / 1.356 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/1.004, allocations: 1.708 MB / 1.357 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/1.004, allocations: 173.1 kB / 1.358 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/1.008, allocations: 2.706 MB / 1.36 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006137/1.009, allocations: 0.7704 MB / 1.361 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.01, allocations: 1.148 MB / 1.362 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/1.013, allocations: 3.554 MB / 1.366 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/1.013, allocations: 0 / 1.366 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/1.013, allocations: 0 / 1.366 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.387e-05/1.013, allocations: 0 / 1.366 GB, free: 12.9 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003569/1.017, allocations: 2.509 MB / 1.368 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/1.017, allocations: 9.156 kB / 1.368 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/1.017, allocations: 215.9 kB / 1.368 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/1.02, allocations: 0.5077 MB / 1.369 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.022, allocations: 1.358 MB / 1.37 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.022, allocations: 183.7 kB / 1.37 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/1.022, allocations: 146.3 kB / 1.37 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/1.025, allocations: 1.733 MB / 1.372 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.025, allocations: 9.906 kB / 1.372 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.025, allocations: 63.8 kB / 1.372 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/1.025, allocations: 60.88 kB / 1.372 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/1.027, allocations: 1.376 MB / 1.374 GB, free: 9.031 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.007721/1.035, allocations: 8.219 MB / 1.382 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.036, allocations: 0.8995 MB / 1.382 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/1.037, allocations: 0.5294 MB / 1.383 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/1.037, allocations: 321.3 kB / 1.383 GB, free: 1.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.037, allocations: 53.64 kB / 1.383 GB, free: 1.656 MB / 1.029 GB Notification: Performance of pre-optimization done (n=96): time 2.555e-06/1.037, allocations: 0 / 1.383 GB, free: 1.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=102): time 0.005776/1.043, allocations: 3.121 MB / 1.386 GB, free: 15.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.043, allocations: 70.44 kB / 1.386 GB, free: 15.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/1.045, allocations: 1.256 MB / 1.388 GB, free: 15.17 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/1.045, allocations: 48.98 kB / 1.388 GB, free: 15.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/1.045, allocations: 0.8148 MB / 1.389 GB, free: 14.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.045, allocations: 361.9 kB / 1.389 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/1.046, allocations: 230.9 kB / 1.389 GB, free: 13.97 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.046, allocations: 352.8 kB / 1.389 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/1.047, allocations: 445.3 kB / 1.39 GB, free: 13.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/1.048, allocations: 0.8281 MB / 1.391 GB, free: 12.7 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/1.049, allocations: 1.25 MB / 1.392 GB, free: 11.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.049, allocations: 2.625 kB / 1.392 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002055/1.051, allocations: 1.403 MB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.051, allocations: 12.69 kB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.051, allocations: 8.219 kB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.051, allocations: 16.66 kB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.052, allocations: 282.7 kB / 1.394 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.052, allocations: 24.81 kB / 1.394 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.053, allocations: 72.19 kB / 1.394 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/1.054, allocations: 47.5 kB / 1.394 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/1.055, allocations: 0.771 MB / 1.394 GB, free: 10.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009471/1.056, allocations: 0.8166 MB / 1.395 GB, free: 9.969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001734/1.057, allocations: 1.234 MB / 1.396 GB, free: 9.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/1.057, allocations: 8.844 kB / 1.396 GB, free: 9.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002037/1.059, allocations: 1.384 MB / 1.398 GB, free: 8.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.059, allocations: 8.469 kB / 1.398 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.059, allocations: 11.03 kB / 1.398 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.06, allocations: 19.03 kB / 1.398 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/1.06, allocations: 276.3 kB / 1.398 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.061, allocations: 22.78 kB / 1.398 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.062, allocations: 78.97 kB / 1.398 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/1.062, allocations: 51.42 kB / 1.398 GB, free: 8.395 MB / 1.045 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.0003196/1.062, allocations: 269.7 kB / 1.399 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.062, allocations: 168.2 kB / 1.399 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/1.064, allocations: 1.144 MB / 1.4 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.064, allocations: 14.47 kB / 1.4 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.064, allocations: 0 / 1.4 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/1.066, allocations: 1.081 MB / 1.401 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/1.07, allocations: 2.785 MB / 1.404 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.07, allocations: 224 / 1.404 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.071, allocations: 248.3 kB / 1.404 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.071, allocations: 5.125 kB / 1.404 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/1.071, allocations: 30.58 kB / 1.404 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/1.071, allocations: 8.25 kB / 1.404 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.071, allocations: 3.938 kB / 1.404 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/1.074, allocations: 1.768 MB / 1.406 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/1.074, allocations: 335 kB / 1.406 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.074, allocations: 24 kB / 1.406 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/1.075, allocations: 58.61 kB / 1.406 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.076, allocations: 71.95 kB / 1.406 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/1.076, allocations: 39.97 kB / 1.406 GB, free: 3.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009256/1.077, allocations: 0.8426 MB / 1.407 GB, free: 2.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.077, allocations: 0 / 1.407 GB, free: 2.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00168/1.078, allocations: 0.7695 MB / 1.408 GB, free: 1.551 MB / 1.045 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.003143/1.081, allocations: 2.498 MB / 1.41 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002621/1.084, allocations: 1.739 MB / 1.412 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.084, allocations: 0.625 kB / 1.412 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007891/1.085, allocations: 0.5184 MB / 1.412 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/1.088, allocations: 0.9057 MB / 1.413 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.103, allocations: 12.01 MB / 1.425 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/1.104, allocations: 1.445 MB / 1.426 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001504/1.105, allocations: 0.556 MB / 1.427 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/1.106, allocations: 0.6828 MB / 1.428 GB, free: 12.83 MB / 1.076 GB Notification: Performance of SimCode: time 8.91e-07/1.106, allocations: 4 kB / 1.428 GB, free: 12.82 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.775/7.881, allocations: 45 MB / 1.472 GB, free: 400 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/18.2, allocations: 15.66 kB / 1.472 GB, free: 384 kB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches