Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001839/0.001839, allocations: 192 kB / 16.14 MB, free: 6.711 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 55.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5564, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2012/0.7576, allocations: 207.7 MB / 1.152 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.7707, allocations: 9.938 MB / 1.162 GB, free: 7.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.7724, allocations: 51.69 kB / 1.162 GB, free: 7.711 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.7741, allocations: 0.6645 MB / 1.162 GB, free: 7.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.78, allocations: 2.65 MB / 1.165 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.783, allocations: 1.25 MB / 1.166 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005553/0.7886, allocations: 5.644 MB / 1.172 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.7901, allocations: 1.121 MB / 1.173 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.7921, allocations: 1.167 MB / 1.174 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.7949, allocations: 1.276 MB / 1.175 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.7952, allocations: 72 kB / 1.175 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004994/0.8002, allocations: 2.755 MB / 1.178 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/0.8008, allocations: 0.5375 MB / 1.178 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.8018, allocations: 0.7814 MB / 1.179 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.8058, allocations: 3.081 MB / 1.182 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8058, allocations: 0 / 1.182 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8058, allocations: 0 / 1.182 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.8058, allocations: 0 / 1.182 GB, free: 2.633 MB / 0.9356 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.002751/0.8086, allocations: 1.893 MB / 1.184 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8086, allocations: 12.02 kB / 1.184 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.8088, allocations: 168.8 kB / 1.184 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.8119, allocations: 485.7 kB / 1.185 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.8135, allocations: 1.061 MB / 1.186 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.8135, allocations: 86.14 kB / 1.186 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.8137, allocations: 111.9 kB / 1.186 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.8155, allocations: 1.161 MB / 1.187 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.8155, allocations: 0 / 1.187 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8157, allocations: 48 kB / 1.187 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.8157, allocations: 46.06 kB / 1.187 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.8174, allocations: 1.078 MB / 1.188 GB, free: 12.35 MB / 0.9512 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.005746/0.8231, allocations: 4.206 MB / 1.192 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.8243, allocations: 0.7902 MB / 1.193 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.8249, allocations: 482.2 kB / 1.193 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.8253, allocations: 296.3 kB / 1.194 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.8253, allocations: 47.47 kB / 1.194 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.235e-06/0.8253, allocations: 0 / 1.194 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005113/0.8305, allocations: 2.844 MB / 1.197 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.8305, allocations: 64.39 kB / 1.197 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.8316, allocations: 0.9716 MB / 1.198 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.8317, allocations: 45.7 kB / 1.198 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.8321, allocations: 0.5473 MB / 1.198 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.8324, allocations: 303.5 kB / 1.198 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.8326, allocations: 162.6 kB / 1.199 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8327, allocations: 334 kB / 1.199 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.8332, allocations: 341.8 kB / 1.199 GB, free: 464 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.8338, allocations: 0.49 MB / 1.2 GB, free: 15.93 MB / 0.9669 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.005637/0.8395, allocations: 3.04 MB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.8395, allocations: 4 kB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001409/0.8409, allocations: 1.007 MB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8409, allocations: 4 kB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8409, allocations: 7.938 kB / 1.204 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8409, allocations: 8 kB / 1.204 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.8417, allocations: 183.7 kB / 1.204 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.8417, allocations: 8.359 kB / 1.204 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/0.8427, allocations: 83.64 kB / 1.204 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.8428, allocations: 32 kB / 1.204 GB, free: 11.46 MB / 0.9669 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.0004845/0.8433, allocations: 380.9 kB / 1.204 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.8435, allocations: 130.4 kB / 1.204 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.8437, allocations: 148.3 kB / 1.205 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8437, allocations: 15.94 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8437, allocations: 4 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/0.8451, allocations: 1.094 MB / 1.206 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.8494, allocations: 3.047 MB / 1.209 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.8495, allocations: 8 kB / 1.209 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.8501, allocations: 160.6 kB / 1.209 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.8504, allocations: 101.7 kB / 1.209 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.8505, allocations: 31.98 kB / 1.209 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.8527, allocations: 2.869 MB / 1.212 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.8527, allocations: 15.94 kB / 1.212 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.8549, allocations: 1.729 MB / 1.213 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.8554, allocations: 307.5 kB / 1.214 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.8556, allocations: 40.05 kB / 1.214 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/0.8566, allocations: 73.23 kB / 1.214 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.8567, allocations: 88.09 kB / 1.214 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/0.8568, allocations: 47.98 kB / 1.214 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008862/0.8577, allocations: 0.6956 MB / 1.215 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8577, allocations: 0 / 1.215 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001255/0.859, allocations: 376 kB / 1.215 GB, free: 15.44 MB / 0.9825 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.002957/0.8619, allocations: 2.426 MB / 1.217 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.8632, allocations: 0.824 MB / 1.218 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.8632, allocations: 4 kB / 1.218 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.8641, allocations: 0.6737 MB / 1.219 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.8679, allocations: 0.8875 MB / 1.22 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.8818, allocations: 10.71 MB / 1.23 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.8827, allocations: 1.249 MB / 1.231 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.884, allocations: 343 kB / 1.232 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.8846, allocations: 471.3 kB / 1.232 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.8846, allocations: 0 / 1.232 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/1.999, allocations: 36.81 MB / 1.268 GB, free: 272.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/2, allocations: 277.2 kB / 1.268 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.561, allocations: 0 / 1.268 GB, free: 272.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches