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.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.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.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.271/2.271, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5448, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2037/0.7485, allocations: 209.9 MB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.7618, allocations: 9.85 MB / 1.164 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.7632, allocations: 63.62 kB / 1.164 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.7649, allocations: 0.7765 MB / 1.165 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.7713, allocations: 2.798 MB / 1.168 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.7748, allocations: 1.371 MB / 1.169 GB, free: 256 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005036/0.7799, allocations: 4.062 MB / 1.173 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.7817, allocations: 1.333 MB / 1.174 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.784, allocations: 1.358 MB / 1.176 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.786, allocations: 1.226 MB / 1.177 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.7862, allocations: 144 kB / 1.177 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/0.7906, allocations: 2.385 MB / 1.179 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.7911, allocations: 0.6 MB / 1.18 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000956/0.7921, allocations: 0.8634 MB / 1.181 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.7959, allocations: 2.972 MB / 1.184 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7959, allocations: 0 / 1.184 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7959, allocations: 4 kB / 1.184 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.796, allocations: 0 / 1.184 GB, free: 1.238 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.002729/0.7987, allocations: 1.892 MB / 1.186 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7987, allocations: 12.03 kB / 1.186 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.7989, allocations: 172.7 kB / 1.186 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.8021, allocations: 489.7 kB / 1.186 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.8036, allocations: 1.054 MB / 1.187 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.8037, allocations: 82.14 kB / 1.187 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.8039, allocations: 115.9 kB / 1.188 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.8057, allocations: 1.161 MB / 1.189 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.8057, allocations: 0 / 1.189 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.8058, allocations: 44 kB / 1.189 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.8059, allocations: 46.12 kB / 1.189 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.8075, allocations: 1.074 MB / 1.19 GB, free: 10.96 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.005381/0.8129, allocations: 4.245 MB / 1.194 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.8141, allocations: 0.7902 MB / 1.195 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.8148, allocations: 482.2 kB / 1.195 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.8152, allocations: 288.3 kB / 1.195 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.8152, allocations: 55.45 kB / 1.195 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.134e-06/0.8152, allocations: 0 / 1.195 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005179/0.8204, allocations: 2.848 MB / 1.198 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8205, allocations: 64.41 kB / 1.198 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.8216, allocations: 0.9755 MB / 1.199 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.8217, allocations: 41.7 kB / 1.199 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.822, allocations: 0.5395 MB / 1.2 GB, free: 168 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.8223, allocations: 323.5 kB / 1.2 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.8225, allocations: 158.6 kB / 1.2 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8227, allocations: 337.9 kB / 1.201 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.8232, allocations: 337.8 kB / 1.201 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.8238, allocations: 485.9 kB / 1.201 GB, free: 14.5 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.006026/0.8299, allocations: 3.045 MB / 1.204 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8299, allocations: 3.938 kB / 1.204 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001472/0.8314, allocations: 1.011 MB / 1.205 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8314, allocations: 8 kB / 1.205 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.8314, allocations: 4 kB / 1.205 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.8315, allocations: 4 kB / 1.205 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.8322, allocations: 179.7 kB / 1.206 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8322, allocations: 11.94 kB / 1.206 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/0.8331, allocations: 35.83 kB / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.8332, allocations: 40.28 kB / 1.206 GB, free: 10.07 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.0005266/0.8337, allocations: 375.5 kB / 1.206 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.8339, allocations: 126.5 kB / 1.206 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.8342, allocations: 148.3 kB / 1.206 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8342, allocations: 8 kB / 1.206 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.8342, allocations: 4 kB / 1.206 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.8357, allocations: 1.094 MB / 1.207 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.84, allocations: 3.047 MB / 1.21 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.84, allocations: 11.94 kB / 1.21 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.8407, allocations: 159.8 kB / 1.21 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.8411, allocations: 101.9 kB / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.8412, allocations: 32 kB / 1.211 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.8438, allocations: 3.093 MB / 1.214 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.8438, allocations: 15.94 kB / 1.214 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.8463, allocations: 1.733 MB / 1.215 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.8469, allocations: 303.5 kB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.8471, allocations: 35.92 kB / 1.216 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.8481, allocations: 37.67 kB / 1.216 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.8482, allocations: 92.05 kB / 1.216 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.8483, allocations: 43.98 kB / 1.216 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001056/0.8494, allocations: 0.6956 MB / 1.217 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8494, allocations: 0 / 1.217 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001129/0.8505, allocations: 376 kB / 1.217 GB, free: 13.86 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.00298/0.8535, allocations: 2.42 MB / 1.219 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8552, allocations: 0.9566 MB / 1.22 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8552, allocations: 4.75 kB / 1.22 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.8561, allocations: 0.6731 MB / 1.221 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/0.8602, allocations: 0.9244 MB / 1.222 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.8734, allocations: 10.29 MB / 1.232 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.8743, allocations: 1.249 MB / 1.233 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001259/0.8755, allocations: 331 kB / 1.233 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.8762, allocations: 479.3 kB / 1.234 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.8762, allocations: 0 / 1.234 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4497/1.326, allocations: 38.18 MB / 1.271 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.995/11.32, allocations: 11.42 kB / 1.271 GB, free: 273.9 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