Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.007691/0.007691, allocations: 103.4 kB / 15.73 MB, free: 6.043 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.002177/0.002177, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.425/1.425, 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 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3296, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 1.044/1.373, allocations: 209.9 MB / 1.412 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01628/1.39, allocations: 9.86 MB / 1.422 GB, free: 7.625 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/1.393, allocations: 61.09 kB / 1.422 GB, free: 7.602 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003077/1.396, allocations: 0.7677 MB / 1.423 GB, free: 6.957 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009372/1.405, allocations: 2.815 MB / 1.425 GB, free: 4.777 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/1.409, allocations: 1.384 MB / 1.427 GB, free: 3.703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005667/1.415, allocations: 4.062 MB / 1.431 GB, free: 1.371 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/1.417, allocations: 1.327 MB / 1.432 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/1.42, allocations: 1.392 MB / 1.433 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/1.423, allocations: 1.227 MB / 1.435 GB, free: 14.37 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004418/1.424, allocations: 144 kB / 1.435 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005831/1.429, allocations: 2.381 MB / 1.437 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.431, allocations: 0.6116 MB / 1.438 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/1.433, allocations: 0.8595 MB / 1.439 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006678/1.439, allocations: 2.999 MB / 1.441 GB, free: 7.355 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.439, allocations: 0 / 1.441 GB, free: 7.355 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.184e-06/1.439, allocations: 3.938 kB / 1.441 GB, free: 7.352 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.245e-05/1.439, allocations: 0 / 1.441 GB, free: 7.352 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005727/1.445, allocations: 1.894 MB / 1.443 GB, free: 5.402 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.445, allocations: 12.62 kB / 1.443 GB, free: 5.391 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000433/1.446, allocations: 168.8 kB / 1.443 GB, free: 5.215 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/1.449, allocations: 497.6 kB / 1.444 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/1.452, allocations: 1.124 MB / 1.445 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/1.452, allocations: 82.14 kB / 1.445 GB, free: 3.473 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/1.453, allocations: 112 kB / 1.445 GB, free: 3.363 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/1.455, allocations: 1.165 MB / 1.446 GB, free: 2.168 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/1.455, allocations: 7.844 kB / 1.446 GB, free: 2.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/1.455, allocations: 44 kB / 1.446 GB, free: 2.117 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/1.456, allocations: 38.14 kB / 1.446 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.458, allocations: 1.074 MB / 1.448 GB, free: 0.9961 MB / 1.123 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.007621/1.465, allocations: 4.186 MB / 1.452 GB, free: 12.53 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/1.467, allocations: 0.7901 MB / 1.452 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/1.468, allocations: 482.2 kB / 1.453 GB, free: 11.26 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/1.468, allocations: 300.3 kB / 1.453 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/1.468, allocations: 43.56 kB / 1.453 GB, free: 10.86 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 7.164e-06/1.468, allocations: 0 / 1.453 GB, free: 10.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.006823/1.475, allocations: 2.844 MB / 1.456 GB, free: 7.93 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.475, allocations: 60.41 kB / 1.456 GB, free: 7.859 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.477, allocations: 0.9871 MB / 1.457 GB, free: 6.855 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/1.477, allocations: 41.7 kB / 1.457 GB, free: 6.809 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/1.478, allocations: 0.5435 MB / 1.458 GB, free: 6.258 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/1.478, allocations: 303.5 kB / 1.458 GB, free: 5.957 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/1.478, allocations: 162.6 kB / 1.458 GB, free: 5.789 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.478, allocations: 338 kB / 1.458 GB, free: 5.453 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/1.479, allocations: 337.8 kB / 1.459 GB, free: 5.125 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/1.48, allocations: 489.9 kB / 1.459 GB, free: 4.609 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006355/1.486, allocations: 3.036 MB / 1.462 GB, free: 1.484 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.486, allocations: 4 kB / 1.462 GB, free: 1.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001896/1.488, allocations: 1.015 MB / 1.463 GB, free: 472 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.488, allocations: 4 kB / 1.463 GB, free: 468 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.488, allocations: 4 kB / 1.463 GB, free: 464 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.488, allocations: 8 kB / 1.463 GB, free: 456 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/1.489, allocations: 183.7 kB / 1.463 GB, free: 272 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/1.489, allocations: 4.375 kB / 1.463 GB, free: 268 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.49, allocations: 35.89 kB / 1.463 GB, free: 232 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/1.49, allocations: 32 kB / 1.463 GB, free: 200 kB / 1.139 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0007165/1.491, allocations: 382 kB / 1.464 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/1.491, allocations: 126.5 kB / 1.464 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/1.492, allocations: 156.3 kB / 1.464 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.492, allocations: 8 kB / 1.464 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.492, allocations: 0 / 1.464 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/1.493, allocations: 1.098 MB / 1.465 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/1.499, allocations: 3.055 MB / 1.468 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.499, allocations: 8 kB / 1.468 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/1.5, allocations: 163.7 kB / 1.468 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/1.5, allocations: 98.25 kB / 1.468 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/1.5, allocations: 35.98 kB / 1.468 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/1.503, allocations: 3.079 MB / 1.471 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.503, allocations: 15.94 kB / 1.471 GB, free: 7.434 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/1.505, allocations: 1.729 MB / 1.473 GB, free: 5.566 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/1.506, allocations: 311.5 kB / 1.473 GB, free: 5.242 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/1.506, allocations: 35.92 kB / 1.473 GB, free: 5.207 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.507, allocations: 42.17 kB / 1.473 GB, free: 5.168 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.507, allocations: 84.25 kB / 1.473 GB, free: 5.086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/1.507, allocations: 51.97 kB / 1.473 GB, free: 5.035 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001056/1.509, allocations: 0.6956 MB / 1.474 GB, free: 4.332 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.509, allocations: 3.938 kB / 1.474 GB, free: 4.328 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001241/1.51, allocations: 380 kB / 1.475 GB, free: 3.957 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003261/1.513, allocations: 2.408 MB / 1.477 GB, free: 1.406 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001453/1.515, allocations: 0.8473 MB / 1.478 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.515, allocations: 4 kB / 1.478 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.516, allocations: 0.661 MB / 1.478 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.52, allocations: 0.9192 MB / 1.479 GB, free: 14.97 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.535, allocations: 9.685 MB / 1.489 GB, free: 4.844 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.537, allocations: 1.249 MB / 1.49 GB, free: 3.562 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001628/1.538, allocations: 343 kB / 1.49 GB, free: 3.223 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.539, allocations: 471.3 kB / 1.491 GB, free: 2.762 MB / 1.17 GB Notification: Performance of SimCode: time 1.312e-06/1.539, allocations: 3.938 kB / 1.491 GB, free: 2.758 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/1.627, allocations: 39.05 MB / 1.529 GB, free: 12.22 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/14.01, allocations: 27.64 kB / 1.529 GB, free: 12.19 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches