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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8263/0.8263, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.696/1.696, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.033e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5985/0.5985, allocations: 185.7 MB / 1.181 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.6122, allocations: 9.265 MB / 1.19 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.6147, allocations: 80.44 kB / 1.19 GB, free: 7.93 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.617, allocations: 0.7649 MB / 1.191 GB, free: 7.5 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/0.6246, allocations: 2.988 MB / 1.194 GB, free: 5.863 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.6278, allocations: 1.449 MB / 1.195 GB, free: 5.086 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.005456/0.6332, allocations: 4.144 MB / 1.199 GB, free: 3.148 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.6347, allocations: 0.9668 MB / 1.2 GB, free: 2.66 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.6385, allocations: 2.322 MB / 1.202 GB, free: 1.625 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.6407, allocations: 1.147 MB / 1.204 GB, free: 1.258 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.6409, allocations: 147.7 kB / 1.204 GB, free: 1.258 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.6448, allocations: 1.982 MB / 1.206 GB, free: 284 kB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006062/0.6454, allocations: 0.6551 MB / 1.206 GB, free: 15.82 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0007575/0.6462, allocations: 0.6159 MB / 1.207 GB, free: 15.52 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.6501, allocations: 3.048 MB / 1.21 GB, free: 13.59 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6501, allocations: 0 / 1.21 GB, free: 13.59 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6501, allocations: 0 / 1.21 GB, free: 13.59 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.6502, allocations: 0 / 1.21 GB, free: 13.59 MB / 1.057 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.00216/0.6523, allocations: 1.836 MB / 1.212 GB, free: 12.25 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6524, allocations: 9.281 kB / 1.212 GB, free: 12.25 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.6525, allocations: 176.6 kB / 1.212 GB, free: 12.11 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.6542, allocations: 496.9 kB / 1.212 GB, free: 11.89 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6555, allocations: 1.055 MB / 1.213 GB, free: 11.12 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.6555, allocations: 82.23 kB / 1.213 GB, free: 11.09 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6556, allocations: 109.5 kB / 1.214 GB, free: 11.05 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6571, allocations: 1.603 MB / 1.215 GB, free: 9.82 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6571, allocations: 0 / 1.215 GB, free: 9.82 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.6572, allocations: 47.12 kB / 1.215 GB, free: 9.785 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.6572, allocations: 47.42 kB / 1.215 GB, free: 9.773 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.6583, allocations: 1.068 MB / 1.216 GB, free: 9.242 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.6618, allocations: 2.902 MB / 1.219 GB, free: 7.348 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.6625, allocations: 0.7486 MB / 1.22 GB, free: 6.957 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.6629, allocations: 456.2 kB / 1.22 GB, free: 6.738 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.6631, allocations: 63.58 kB / 1.22 GB, free: 6.719 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.6631, allocations: 55.72 kB / 1.22 GB, free: 6.664 MB / 1.057 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.6631, allocations: 0 / 1.22 GB, free: 6.664 MB / 1.057 GB Notification: Performance of matching and sorting (n=89): time 0.003527/0.6667, allocations: 2.631 MB / 1.223 GB, free: 5.188 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.6667, allocations: 62.94 kB / 1.223 GB, free: 5.125 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.6675, allocations: 0.9756 MB / 1.224 GB, free: 4.582 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.6675, allocations: 42.55 kB / 1.224 GB, free: 4.539 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6678, allocations: 0.5498 MB / 1.225 GB, free: 4.051 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.668, allocations: 320.9 kB / 1.225 GB, free: 3.773 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.6682, allocations: 168 kB / 1.225 GB, free: 3.672 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.6683, allocations: 338.1 kB / 1.225 GB, free: 3.344 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.6686, allocations: 337.6 kB / 1.226 GB, free: 3.176 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.669, allocations: 0.5816 MB / 1.226 GB, free: 2.738 MB / 1.057 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.003655/0.6727, allocations: 2.812 MB / 1.229 GB, free: 0.9062 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6727, allocations: 0 / 1.229 GB, free: 0.9062 MB / 1.057 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001076/0.6738, allocations: 1.016 MB / 1.23 GB, free: 15.89 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6738, allocations: 8 kB / 1.23 GB, free: 15.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.6738, allocations: 4 kB / 1.23 GB, free: 15.88 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6738, allocations: 7.938 kB / 1.23 GB, free: 15.87 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.6742, allocations: 183.7 kB / 1.23 GB, free: 15.69 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6742, allocations: 8 kB / 1.23 GB, free: 15.68 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.6749, allocations: 28.31 kB / 1.23 GB, free: 15.65 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.6749, allocations: 40 kB / 1.23 GB, free: 15.61 MB / 1.073 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.0005321/0.6754, allocations: 373.5 kB / 1.231 GB, free: 15.24 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6756, allocations: 131.2 kB / 1.231 GB, free: 15.11 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.6757, allocations: 148.1 kB / 1.231 GB, free: 14.96 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6757, allocations: 11.94 kB / 1.231 GB, free: 14.95 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.6757, allocations: 4 kB / 1.231 GB, free: 14.95 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009693/0.6767, allocations: 1.086 MB / 1.232 GB, free: 13.78 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.6799, allocations: 2.814 MB / 1.235 GB, free: 10.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6799, allocations: 8 kB / 1.235 GB, free: 10.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.6802, allocations: 165 kB / 1.235 GB, free: 10.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.6804, allocations: 97.59 kB / 1.235 GB, free: 10.53 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.6805, allocations: 28 kB / 1.235 GB, free: 10.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.682, allocations: 2.879 MB / 1.238 GB, free: 7.395 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.682, allocations: 19.88 kB / 1.238 GB, free: 7.375 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.6836, allocations: 1.719 MB / 1.239 GB, free: 5.523 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.6841, allocations: 235.1 kB / 1.24 GB, free: 5.293 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.6842, allocations: 35.98 kB / 1.24 GB, free: 5.258 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.6847, allocations: 38.22 kB / 1.24 GB, free: 5.223 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.6848, allocations: 88.28 kB / 1.24 GB, free: 5.137 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.6848, allocations: 57.14 kB / 1.24 GB, free: 5.082 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0006575/0.6855, allocations: 0.6874 MB / 1.241 GB, free: 4.387 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6855, allocations: 0 / 1.241 GB, free: 4.387 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008196/0.6863, allocations: 379.9 kB / 1.241 GB, free: 4.016 MB / 1.073 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.002031/0.6883, allocations: 2.4 MB / 1.243 GB, free: 1.469 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0008957/0.6892, allocations: 0.8048 MB / 1.244 GB, free: 0.6641 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6892, allocations: 4 kB / 1.244 GB, free: 0.6602 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.6898, allocations: 0.6473 MB / 1.245 GB, free: 15.98 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.692, allocations: 0.9064 MB / 1.246 GB, free: 15.1 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.7012, allocations: 9.578 MB / 1.255 GB, free: 5.078 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.7017, allocations: 0.6571 MB / 1.256 GB, free: 4.387 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0008895/0.7026, allocations: 335 kB / 1.256 GB, free: 4.055 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.703, allocations: 472.3 kB / 1.256 GB, free: 3.594 MB / 1.089 GB Notification: Performance of SimCode: time 1.933e-06/0.703, allocations: 0 / 1.256 GB, free: 3.594 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/0.7521, allocations: 42.08 MB / 1.297 GB, free: 10.32 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/8.133, allocations: 7.797 kB / 1.297 GB, free: 10.31 MB / 1.135 GB " [Timeout remaining time 292] (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 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.087482045404613]