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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 172.9 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 93.28 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.971e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4275, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.398/6.825, allocations: 1.923 GB / 3.135 GB, free: 407.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/6.825, allocations: 83.95 kB / 3.135 GB, free: 407 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.261/9.086, allocations: 0.7554 GB / 3.89 GB, free: 68.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.026e-06/9.086, allocations: 0 / 3.89 GB, free: 68.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001379/9.086, allocations: 44.11 kB / 3.89 GB, free: 68.68 MB / 1.151 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.004205/9.091, allocations: 1.547 MB / 3.892 GB, free: 67.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/9.091, allocations: 12.03 kB / 3.892 GB, free: 67.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/9.096, allocations: 481.6 kB / 3.892 GB, free: 66.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/9.099, allocations: 1.105 MB / 3.893 GB, free: 65.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/9.099, allocations: 39.95 kB / 3.894 GB, free: 65.41 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/9.1, allocations: 67.98 kB / 3.894 GB, free: 65.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002407/9.102, allocations: 0.9452 MB / 3.895 GB, free: 64.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/9.105, allocations: 1.042 MB / 3.896 GB, free: 63.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/9.105, allocations: 0 / 3.896 GB, free: 63.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/9.105, allocations: 12 kB / 3.896 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/9.105, allocations: 34.14 kB / 3.896 GB, free: 63.27 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007373/9.112, allocations: 3.944 MB / 3.899 GB, free: 59.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/9.113, allocations: 0.7365 MB / 3.9 GB, free: 58.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/9.114, allocations: 429.7 kB / 3.901 GB, free: 57.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/9.115, allocations: 300 kB / 3.901 GB, free: 57.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/9.115, allocations: 43.34 kB / 3.901 GB, free: 57.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.727e-06/9.115, allocations: 0 / 3.901 GB, free: 57.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.005491/9.12, allocations: 2.095 MB / 3.903 GB, free: 55.35 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/9.12, allocations: 60.19 kB / 3.903 GB, free: 55.28 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/9.121, allocations: 0.5946 MB / 3.904 GB, free: 54.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/9.121, allocations: 29.7 kB / 3.904 GB, free: 54.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/9.121, allocations: 0.5426 MB / 3.904 GB, free: 54.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/9.122, allocations: 303.5 kB / 3.904 GB, free: 53.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/9.122, allocations: 0 / 3.904 GB, free: 53.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001104/9.122, allocations: 341.9 kB / 3.905 GB, free: 53.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/9.122, allocations: 306.5 kB / 3.905 GB, free: 53.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/9.123, allocations: 469.3 kB / 3.905 GB, free: 52.64 MB / 1.151 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.004353/9.127, allocations: 2.172 MB / 3.908 GB, free: 50.42 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/9.127, allocations: 7.953 kB / 3.908 GB, free: 50.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001339/9.128, allocations: 0.8934 MB / 3.908 GB, free: 49.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/9.128, allocations: 8 kB / 3.908 GB, free: 49.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/9.128, allocations: 0 / 3.908 GB, free: 49.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/9.129, allocations: 8 kB / 3.908 GB, free: 49.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/9.129, allocations: 179.7 kB / 3.909 GB, free: 49.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/9.129, allocations: 8 kB / 3.909 GB, free: 49.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/9.13, allocations: 63.98 kB / 3.909 GB, free: 49.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/9.131, allocations: 39.92 kB / 3.909 GB, free: 49.21 MB / 1.151 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 () * 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.0002113/9.131, allocations: 124.8 kB / 3.909 GB, free: 49.08 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/9.131, allocations: 110.7 kB / 3.909 GB, free: 48.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/9.131, allocations: 118.4 kB / 3.909 GB, free: 48.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/9.131, allocations: 15.88 kB / 3.909 GB, free: 48.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/9.131, allocations: 11.94 kB / 3.909 GB, free: 48.83 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/9.133, allocations: 1.014 MB / 3.91 GB, free: 47.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/9.137, allocations: 2.795 MB / 3.913 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/9.137, allocations: 8 kB / 3.913 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/9.138, allocations: 159.7 kB / 3.913 GB, free: 44.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/9.138, allocations: 106.2 kB / 3.913 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/9.138, allocations: 27.94 kB / 3.913 GB, free: 44.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/9.14, allocations: 2.794 MB / 3.916 GB, free: 41.45 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/9.14, allocations: 15.94 kB / 3.916 GB, free: 41.44 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/9.142, allocations: 2.047 MB / 3.918 GB, free: 39.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/9.143, allocations: 287.7 kB / 3.918 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/9.143, allocations: 15.95 kB / 3.918 GB, free: 38.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009207/9.144, allocations: 55.92 kB / 3.918 GB, free: 38.64 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/9.144, allocations: 88.19 kB / 3.918 GB, free: 38.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/9.144, allocations: 51.97 kB / 3.918 GB, free: 38.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005295/9.145, allocations: 463.1 kB / 3.919 GB, free: 38.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/9.145, allocations: 0 / 3.919 GB, free: 38.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001583/9.146, allocations: 472 kB / 3.919 GB, free: 37.59 MB / 1.151 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 () * 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.002161/9.148, allocations: 1.859 MB / 3.921 GB, free: 35.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001094/9.15, allocations: 0.7488 MB / 3.922 GB, free: 34.91 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/9.15, allocations: 4 kB / 3.922 GB, free: 34.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/9.15, allocations: 0.6168 MB / 3.922 GB, free: 34.27 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/9.153, allocations: 0.6685 MB / 3.923 GB, free: 33.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/9.156, allocations: 2.209 MB / 3.925 GB, free: 31.24 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/9.157, allocations: 1.272 MB / 3.926 GB, free: 29.94 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001145/9.158, allocations: 309 kB / 3.927 GB, free: 29.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/9.158, allocations: 91.42 kB / 3.927 GB, free: 29.55 MB / 1.151 GB Notification: Performance of SimCode: time 8.12e-07/9.158, allocations: 0 / 3.927 GB, free: 29.55 MB / 1.151 GB Notification: Performance of Templates: time 0.7896/9.948, allocations: 29.8 MB / 3.956 GB, free: 240 MB / 1.151 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