Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 183.5 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008942/0.0008943, allocations: 90.52 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.292e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.906/7.142, allocations: 2.196 GB / 3.081 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/7.143, allocations: 90.14 kB / 3.081 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.749/9.892, allocations: 0.7273 GB / 3.808 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/9.892, allocations: 0 / 3.808 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001572/9.892, allocations: 43.36 kB / 3.808 GB, free: 134.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003695/9.896, allocations: 1.549 MB / 3.81 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/9.896, allocations: 8.031 kB / 3.81 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/9.899, allocations: 493.6 kB / 3.81 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/9.901, allocations: 1.087 MB / 3.811 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/9.901, allocations: 43.95 kB / 3.811 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/9.901, allocations: 75.98 kB / 3.811 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001566/9.903, allocations: 0.9336 MB / 3.812 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/9.904, allocations: 1.062 MB / 3.813 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/9.904, allocations: 2.953 kB / 3.813 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/9.905, allocations: 11.94 kB / 3.813 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/9.905, allocations: 42.19 kB / 3.813 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/9.91, allocations: 4.286 MB / 3.818 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/9.911, allocations: 0.5622 MB / 3.818 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/9.911, allocations: 377.3 kB / 3.818 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/9.912, allocations: 295 kB / 3.819 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/9.912, allocations: 43.12 kB / 3.819 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 2.514e-06/9.912, allocations: 0 / 3.819 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.001703/9.913, allocations: 0.7766 MB / 3.819 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/9.914, allocations: 59.97 kB / 3.82 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/9.914, allocations: 0.6506 MB / 3.82 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/9.914, allocations: 29.7 kB / 3.82 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/9.915, allocations: 0.6041 MB / 3.821 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/9.915, allocations: 232.6 kB / 3.821 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/9.915, allocations: 0 / 3.821 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/9.915, allocations: 341.9 kB / 3.821 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/9.915, allocations: 274.5 kB / 3.822 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/9.916, allocations: 492 kB / 3.822 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/9.916, allocations: 368.5 kB / 3.822 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/9.916, allocations: 3.938 kB / 3.822 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001056/9.917, allocations: 0.8502 MB / 3.823 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/9.917, allocations: 12.64 kB / 3.823 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/9.917, allocations: 4 kB / 3.823 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/9.917, allocations: 12 kB / 3.823 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/9.918, allocations: 163.8 kB / 3.823 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/9.918, allocations: 11.98 kB / 3.823 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/9.919, allocations: 87.19 kB / 3.824 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/9.919, allocations: 39.98 kB / 3.824 GB, free: 118.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0001683/9.919, allocations: 128.8 kB / 3.824 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/9.92, allocations: 105.8 kB / 3.824 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/9.92, allocations: 117.8 kB / 3.824 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/9.92, allocations: 4 kB / 3.824 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/9.92, allocations: 4 kB / 3.824 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009603/9.921, allocations: 0.8764 MB / 3.825 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/9.924, allocations: 2.099 MB / 3.827 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/9.924, allocations: 4 kB / 3.827 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/9.924, allocations: 123.8 kB / 3.827 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/9.925, allocations: 98.08 kB / 3.827 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/9.925, allocations: 12 kB / 3.827 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/9.926, allocations: 2.8 MB / 3.83 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/9.926, allocations: 12.06 kB / 3.83 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/9.928, allocations: 1.462 MB / 3.831 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/9.929, allocations: 299.5 kB / 3.832 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/9.929, allocations: 7.984 kB / 3.832 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/9.93, allocations: 55.89 kB / 3.832 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/9.93, allocations: 52.33 kB / 3.832 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/9.93, allocations: 31.98 kB / 3.832 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005939/9.93, allocations: 0.4998 MB / 3.832 GB, free: 109 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.874e-06/9.93, allocations: 0 / 3.832 GB, free: 109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00161/9.932, allocations: 0.5378 MB / 3.833 GB, free: 108.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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.002104/9.934, allocations: 1.843 MB / 3.834 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009494/9.935, allocations: 0.6545 MB / 3.835 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/9.935, allocations: 8.25 kB / 3.835 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/9.936, allocations: 0.5244 MB / 3.836 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/9.939, allocations: 0.6244 MB / 3.836 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/9.942, allocations: 1.994 MB / 3.838 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/9.942, allocations: 1.27 MB / 3.839 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001115/9.943, allocations: 292.6 kB / 3.84 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/9.944, allocations: 79.42 kB / 3.84 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/9.944, allocations: 0 / 3.84 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04317/9.987, allocations: 29.07 MB / 3.868 GB, free: 72.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches