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.001377/0.001377, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00133/0.00133, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.42 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9513/1.273, allocations: 207.2 MB / 1.255 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01327/1.286, allocations: 9.79 MB / 1.264 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/1.288, allocations: 52.69 kB / 1.264 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/1.291, allocations: 0.684 MB / 1.265 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006962/1.298, allocations: 2.639 MB / 1.268 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/1.301, allocations: 1.269 MB / 1.269 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004922/1.306, allocations: 4.064 MB / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/1.308, allocations: 1.301 MB / 1.274 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/1.312, allocations: 1.377 MB / 1.275 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/1.315, allocations: 1.311 MB / 1.277 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006725/1.316, allocations: 144.1 kB / 1.277 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/1.322, allocations: 2.503 MB / 1.279 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.323, allocations: 0.605 MB / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002786/1.326, allocations: 0.8632 MB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/1.332, allocations: 3.144 MB / 1.284 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.332, allocations: 0.9688 kB / 1.284 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.075e-06/1.332, allocations: 1.969 kB / 1.284 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001016/1.332, allocations: 0 / 1.284 GB, free: 1.938 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005339/1.338, allocations: 1.898 MB / 1.286 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.338, allocations: 10.75 kB / 1.286 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002988/1.338, allocations: 169.5 kB / 1.286 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/1.342, allocations: 493.8 kB / 1.286 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/1.344, allocations: 1.06 MB / 1.287 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/1.344, allocations: 83.58 kB / 1.287 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/1.344, allocations: 110.8 kB / 1.288 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.346, allocations: 1.163 MB / 1.289 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.346, allocations: 6.078 kB / 1.289 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.346, allocations: 46.09 kB / 1.289 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/1.346, allocations: 39.77 kB / 1.289 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/1.348, allocations: 1.077 MB / 1.29 GB, free: 16.4 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.005602/1.354, allocations: 4.21 MB / 1.294 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.355, allocations: 0.7971 MB / 1.295 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/1.355, allocations: 482.5 kB / 1.295 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/1.356, allocations: 292.2 kB / 1.295 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.356, allocations: 49.95 kB / 1.296 GB, free: 14.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/1.356, allocations: 2.062 kB / 1.296 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005176/1.361, allocations: 2.839 MB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.361, allocations: 67.94 kB / 1.298 GB, free: 13.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/1.362, allocations: 0.9751 MB / 1.299 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/1.362, allocations: 45.61 kB / 1.299 GB, free: 13.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.363, allocations: 0.5435 MB / 1.3 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/1.363, allocations: 313.2 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/1.363, allocations: 157.2 kB / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.363, allocations: 342 kB / 1.301 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/1.364, allocations: 337.8 kB / 1.301 GB, free: 12.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/1.364, allocations: 491.2 kB / 1.301 GB, free: 12.58 MB / 1.014 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.005758/1.37, allocations: 3.049 MB / 1.304 GB, free: 12.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.37, allocations: 1.375 kB / 1.304 GB, free: 12.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001435/1.372, allocations: 1.015 MB / 1.305 GB, free: 12.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.372, allocations: 4.438 kB / 1.305 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/1.372, allocations: 3.906 kB / 1.305 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.372, allocations: 8.469 kB / 1.305 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/1.372, allocations: 179.2 kB / 1.306 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.373, allocations: 14.8 kB / 1.306 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.374, allocations: 77.2 kB / 1.306 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/1.374, allocations: 34.97 kB / 1.306 GB, free: 12.01 MB / 1.014 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.0005075/1.374, allocations: 374.7 kB / 1.306 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/1.374, allocations: 129.5 kB / 1.306 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/1.375, allocations: 151.3 kB / 1.306 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.375, allocations: 8.438 kB / 1.306 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.375, allocations: 6.25 kB / 1.306 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/1.376, allocations: 1.088 MB / 1.307 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/1.38, allocations: 3.05 MB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.38, allocations: 10.22 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.381, allocations: 164.8 kB / 1.311 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/1.381, allocations: 99.23 kB / 1.311 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/1.381, allocations: 38.03 kB / 1.311 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/1.384, allocations: 3.087 MB / 1.314 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/1.384, allocations: 14.06 kB / 1.314 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/1.386, allocations: 1.731 MB / 1.315 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/1.386, allocations: 309.8 kB / 1.316 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.386, allocations: 34.34 kB / 1.316 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.387, allocations: 76.86 kB / 1.316 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.387, allocations: 90.92 kB / 1.316 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/1.388, allocations: 45.81 kB / 1.316 GB, free: 7.312 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007719/1.388, allocations: 0.6919 MB / 1.317 GB, free: 7.203 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.388, allocations: 2.219 kB / 1.317 GB, free: 7.203 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001045/1.389, allocations: 372.3 kB / 1.317 GB, free: 7.203 MB / 1.014 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.002703/1.392, allocations: 2.421 MB / 1.319 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001416/1.394, allocations: 0.9598 MB / 1.32 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.394, allocations: 3.062 kB / 1.32 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/1.394, allocations: 0.6709 MB / 1.321 GB, free: 5.816 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/1.398, allocations: 0.928 MB / 1.322 GB, free: 5.664 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.412, allocations: 10.7 MB / 1.332 GB, free: 1.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/1.413, allocations: 1.252 MB / 1.334 GB, free: 348 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001202/1.414, allocations: 337.6 kB / 1.334 GB, free: 272 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/1.414, allocations: 471.2 kB / 1.334 GB, free: 264 kB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.414, allocations: 2.406 kB / 1.334 GB, free: 264 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.25/2.664, allocations: 37.96 MB / 1.371 GB, free: 11.88 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004726/2.665, allocations: 287.1 kB / 1.372 GB, free: 11.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/5.553, allocations: 0 / 1.372 GB, free: 11.5 MB / 1.045 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