Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001294/0.001294, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 11.94 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.6279, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1974/0.8253, allocations: 191.1 MB / 1.209 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.8386, allocations: 9.288 MB / 1.218 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.8401, allocations: 51.62 kB / 1.218 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.8416, allocations: 0.524 MB / 1.219 GB, free: 6.527 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005104/0.8467, allocations: 2.049 MB / 1.221 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.8495, allocations: 0.9877 MB / 1.222 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005113/0.8546, allocations: 4.739 MB / 1.226 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.8559, allocations: 0.9574 MB / 1.227 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.8578, allocations: 1.144 MB / 1.228 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.8594, allocations: 1.171 MB / 1.229 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.8595, allocations: 56 kB / 1.23 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.8625, allocations: 1.157 MB / 1.231 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005724/0.8631, allocations: 0.518 MB / 1.231 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.8635, allocations: 329 kB / 1.231 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.8658, allocations: 2.038 MB / 1.233 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8658, allocations: 0 / 1.233 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8658, allocations: 0 / 1.233 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.8659, allocations: 0 / 1.233 GB, free: 7.332 MB / 0.9825 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.002541/0.8684, allocations: 1.62 MB / 1.235 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.8685, allocations: 8.031 kB / 1.235 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.8715, allocations: 481.7 kB / 1.236 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.8732, allocations: 1.027 MB / 1.237 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.8732, allocations: 82.14 kB / 1.237 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.8734, allocations: 112 kB / 1.237 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.8754, allocations: 1.153 MB / 1.238 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.8754, allocations: 0 / 1.238 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.8756, allocations: 48 kB / 1.238 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.8756, allocations: 42.12 kB / 1.238 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.8773, allocations: 1.066 MB / 1.239 GB, free: 1.562 MB / 0.9825 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.005653/0.883, allocations: 4.215 MB / 1.243 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.8842, allocations: 0.7856 MB / 1.244 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.8848, allocations: 478.2 kB / 1.244 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.8852, allocations: 296.3 kB / 1.245 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.8853, allocations: 47.56 kB / 1.245 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.925e-06/0.8853, allocations: 0 / 1.245 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.00531/0.8906, allocations: 2.833 MB / 1.247 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.8907, allocations: 64.41 kB / 1.247 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.8919, allocations: 0.9714 MB / 1.248 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.892, allocations: 49.7 kB / 1.248 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.8924, allocations: 0.5396 MB / 1.249 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.8927, allocations: 303.5 kB / 1.249 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.8927, allocations: 16 kB / 1.249 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8929, allocations: 345.9 kB / 1.25 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.8934, allocations: 333.8 kB / 1.25 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.8941, allocations: 481.9 kB / 1.25 GB, free: 5.32 MB / 0.9981 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004681/0.8988, allocations: 2.251 MB / 1.253 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8988, allocations: 0 / 1.253 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001533/0.9003, allocations: 1.007 MB / 1.254 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.9004, allocations: 8.312 kB / 1.254 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9004, allocations: 8 kB / 1.254 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9004, allocations: 8 kB / 1.254 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.9011, allocations: 179.8 kB / 1.254 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.9011, allocations: 7.938 kB / 1.254 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.9021, allocations: 79.67 kB / 1.254 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.9021, allocations: 35.98 kB / 1.254 GB, free: 1.688 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.9027, allocations: 384 kB / 1.254 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.9029, allocations: 130.5 kB / 1.254 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.9032, allocations: 144.3 kB / 1.255 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.9032, allocations: 8 kB / 1.255 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.9032, allocations: 4 kB / 1.255 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5192/1.422, allocations: 1.081 MB / 1.256 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006255/1.429, allocations: 3.053 MB / 1.259 GB, free: 34.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/1.429, allocations: 9 kB / 1.259 GB, free: 34.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/1.43, allocations: 162.3 kB / 1.259 GB, free: 34.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/1.43, allocations: 101.1 kB / 1.259 GB, free: 34.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.43, allocations: 32.77 kB / 1.259 GB, free: 34.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/1.433, allocations: 2.875 MB / 1.262 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-05/1.433, allocations: 17.45 kB / 1.262 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/1.435, allocations: 1.728 MB / 1.263 GB, free: 31.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/1.436, allocations: 307.6 kB / 1.264 GB, free: 31.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/1.436, allocations: 31 kB / 1.264 GB, free: 31.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.438, allocations: 77.5 kB / 1.264 GB, free: 31.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.438, allocations: 85.17 kB / 1.264 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.438, allocations: 47.25 kB / 1.264 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001199/1.439, allocations: 0.6848 MB / 1.265 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.439, allocations: 0 / 1.265 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001407/1.44, allocations: 377.2 kB / 1.265 GB, free: 31.59 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005464/1.441, allocations: 259.4 kB / 1.265 GB, free: 31.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.443, allocations: 0.8218 MB / 1.266 GB, free: 31.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.443, allocations: 2.562 kB / 1.266 GB, free: 31.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009641/1.444, allocations: 0.6631 MB / 1.267 GB, free: 31.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.448, allocations: 0.8905 MB / 1.267 GB, free: 31.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/1.453, allocations: 3.259 MB / 1.271 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009657/1.454, allocations: 1.252 MB / 1.272 GB, free: 28.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001634/1.456, allocations: 339.1 kB / 1.272 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.456, allocations: 97.52 kB / 1.272 GB, free: 28.65 MB / 0.9981 GB Notification: Performance of SimCode: time 1.713e-06/1.456, allocations: 1.859 kB / 1.272 GB, free: 28.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.0413/1.497, allocations: 26.2 MB / 1.298 GB, free: 26.98 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches