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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: 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_latest_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_latest_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.001165/0.001165, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.94 MB, free: 228 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.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5941, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1781/0.7723, allocations: 173.3 MB / 1.19 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.7861, allocations: 9.396 MB / 1.199 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.7879, allocations: 47.69 kB / 1.199 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.7901, allocations: 0.8399 MB / 1.2 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006951/0.7971, allocations: 2.54 MB / 1.203 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.8012, allocations: 1.512 MB / 1.204 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.805, allocations: 2.332 MB / 1.206 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.8063, allocations: 0.9654 MB / 1.207 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.8081, allocations: 0.9927 MB / 1.208 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.8091, allocations: 0.7626 MB / 1.209 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.8093, allocations: 56 kB / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.812, allocations: 1.069 MB / 1.21 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.8125, allocations: 478.7 kB / 1.211 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.8129, allocations: 333 kB / 1.211 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.8151, allocations: 1.925 MB / 1.213 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8151, allocations: 0 / 1.213 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8151, allocations: 4 kB / 1.213 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.8151, allocations: 0 / 1.213 GB, free: 12.11 MB / 0.9669 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.002672/0.8178, allocations: 1.585 MB / 1.214 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8179, allocations: 11.98 kB / 1.214 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.8211, allocations: 489.7 kB / 1.215 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.8232, allocations: 1.027 MB / 1.216 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.8233, allocations: 78.14 kB / 1.216 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.8234, allocations: 112 kB / 1.216 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.8254, allocations: 1.149 MB / 1.217 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.8254, allocations: 4 kB / 1.217 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.8255, allocations: 40 kB / 1.217 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.8256, allocations: 50.12 kB / 1.217 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.8273, allocations: 1.058 MB / 1.218 GB, free: 6.375 MB / 0.9669 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.006065/0.8334, allocations: 4.212 MB / 1.222 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.8346, allocations: 0.7856 MB / 1.223 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.8347, allocations: 24.97 kB / 1.223 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.8348, allocations: 47.56 kB / 1.223 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/0.8348, allocations: 0 / 1.223 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005593/0.8404, allocations: 2.846 MB / 1.226 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8404, allocations: 64.41 kB / 1.226 GB, free: 14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.8416, allocations: 0.9715 MB / 1.227 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.8417, allocations: 45.7 kB / 1.227 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.8422, allocations: 0.5357 MB / 1.227 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.8424, allocations: 311.4 kB / 1.228 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.8425, allocations: 20 kB / 1.228 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8426, allocations: 341.9 kB / 1.228 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.8431, allocations: 337.8 kB / 1.228 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.8438, allocations: 477.9 kB / 1.229 GB, free: 10.92 MB / 0.9825 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.004988/0.8488, allocations: 2.252 MB / 1.231 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8488, allocations: 3.953 kB / 1.231 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001963/0.8507, allocations: 1 MB / 1.232 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.8508, allocations: 12 kB / 1.232 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8508, allocations: 4 kB / 1.232 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.8508, allocations: 11.98 kB / 1.232 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.8516, allocations: 175.8 kB / 1.232 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.8517, allocations: 11.92 kB / 1.232 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.853, allocations: 75.8 kB / 1.232 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.8531, allocations: 32 kB / 1.232 GB, free: 7.293 MB / 0.9825 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.0007607/0.8539, allocations: 381.5 kB / 1.233 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.854, allocations: 130.5 kB / 1.233 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.8543, allocations: 148.3 kB / 1.233 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.8543, allocations: 8 kB / 1.233 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.8544, allocations: 0 / 1.233 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/0.8559, allocations: 1.09 MB / 1.234 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/0.8608, allocations: 3.047 MB / 1.237 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.8608, allocations: 8 kB / 1.237 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.8616, allocations: 163.7 kB / 1.237 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.8619, allocations: 105.5 kB / 1.237 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.862, allocations: 31.98 kB / 1.237 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.8649, allocations: 2.893 MB / 1.24 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.8649, allocations: 11.94 kB / 1.24 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.8676, allocations: 2.245 MB / 1.242 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/0.8683, allocations: 307.5 kB / 1.243 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.8684, allocations: 31.98 kB / 1.243 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8695, allocations: 75.8 kB / 1.243 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.8696, allocations: 88.14 kB / 1.243 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.614e-05/0.8697, allocations: 43.98 kB / 1.243 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009201/0.8706, allocations: 0.6878 MB / 1.244 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8706, allocations: 0 / 1.244 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001288/0.8719, allocations: 376 kB / 1.244 GB, free: 10.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.0005863/0.8725, allocations: 247.8 kB / 1.244 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8738, allocations: 0.82 MB / 1.245 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8738, allocations: 4 kB / 1.245 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.8748, allocations: 0.6664 MB / 1.246 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.8787, allocations: 0.8683 MB / 1.246 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.8829, allocations: 3.26 MB / 1.25 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.8839, allocations: 1.276 MB / 1.251 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001211/0.8852, allocations: 343 kB / 1.251 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.8854, allocations: 95.44 kB / 1.251 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8854, allocations: 0 / 1.251 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of Templates: time 0.4857/1.371, allocations: 26.16 MB / 1.277 GB, free: 222 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches