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.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 185.2 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008499/0.0008502, allocations: 90.34 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 11.72 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.295, allocations: 2.195 GB / 3.095 GB, free: 24.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/5.296, allocations: 99.94 kB / 3.096 GB, free: 24.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.19/8.486, allocations: 0.7371 GB / 3.833 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/8.486, allocations: 0 / 3.833 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001058/8.486, allocations: 36.94 kB / 3.833 GB, free: 165.9 MB / 0.8855 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.003732/8.49, allocations: 1.756 MB / 3.834 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/8.49, allocations: 7.75 kB / 3.834 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/8.493, allocations: 481.1 kB / 3.835 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/8.495, allocations: 1.105 MB / 3.836 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/8.495, allocations: 86.83 kB / 3.836 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/8.496, allocations: 117 kB / 3.836 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/8.498, allocations: 1.252 MB / 3.837 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/8.498, allocations: 7.812 kB / 3.837 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/8.498, allocations: 44.41 kB / 3.837 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/8.498, allocations: 39.45 kB / 3.837 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/8.499, allocations: 1.018 MB / 3.838 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006191/8.505, allocations: 4.558 MB / 3.843 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/8.506, allocations: 0.5972 MB / 3.843 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/8.507, allocations: 297.7 kB / 3.844 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/8.507, allocations: 46.3 kB / 3.844 GB, free: 163 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=65): time 2.564e-06/8.507, allocations: 3.75 kB / 3.844 GB, free: 163 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65): time 0.002705/8.509, allocations: 1.304 MB / 3.845 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/8.509, allocations: 64.44 kB / 3.845 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/8.511, allocations: 0.9294 MB / 3.846 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/8.511, allocations: 43.52 kB / 3.846 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/8.511, allocations: 0.5825 MB / 3.847 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/8.511, allocations: 241.6 kB / 3.847 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/8.511, allocations: 15.03 kB / 3.847 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/8.511, allocations: 343 kB / 3.847 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/8.512, allocations: 295.8 kB / 3.847 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/8.512, allocations: 0.5114 MB / 3.848 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/8.513, allocations: 384.9 kB / 3.848 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/8.513, allocations: 3.812 kB / 3.848 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001367/8.514, allocations: 0.944 MB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/8.514, allocations: 8.281 kB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/8.514, allocations: 7.344 kB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/8.514, allocations: 11.25 kB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/8.515, allocations: 171.2 kB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/8.515, allocations: 13.7 kB / 3.849 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/8.516, allocations: 129.3 kB / 3.85 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/8.516, allocations: 37.48 kB / 3.85 GB, free: 161.5 MB / 0.8855 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 () * Number of clocked 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.0007517/8.517, allocations: 381.3 kB / 3.85 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/8.517, allocations: 131.7 kB / 3.85 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/8.518, allocations: 133.6 kB / 3.85 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/8.518, allocations: 9.562 kB / 3.85 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/8.518, allocations: 0 / 3.85 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/8.519, allocations: 0.9301 MB / 3.851 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/8.522, allocations: 2.3 MB / 3.853 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/8.522, allocations: 7.922 kB / 3.853 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/8.523, allocations: 126.9 kB / 3.854 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/8.523, allocations: 91.25 kB / 3.854 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/8.523, allocations: 24.64 kB / 3.854 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/8.525, allocations: 2.888 MB / 3.856 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/8.525, allocations: 6.469 kB / 3.856 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/8.527, allocations: 1.585 MB / 3.858 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/8.528, allocations: 315 kB / 3.858 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/8.528, allocations: 18.8 kB / 3.858 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/8.529, allocations: 66.75 kB / 3.858 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/8.529, allocations: 56.7 kB / 3.858 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/8.529, allocations: 38.94 kB / 3.858 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001056/8.53, allocations: 0.7459 MB / 3.859 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.21e-07/8.53, allocations: 0 / 3.859 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001776/8.532, allocations: 0.5649 MB / 3.86 GB, free: 157.1 MB / 0.8855 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 () * Number of clocked 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.002365/8.534, allocations: 1.665 MB / 3.861 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001068/8.536, allocations: 0.702 MB / 3.862 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/8.536, allocations: 0 / 3.862 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/8.536, allocations: 0.5767 MB / 3.863 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/8.54, allocations: 0.8349 MB / 3.863 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/8.546, allocations: 3.016 MB / 3.866 GB, free: 155 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/8.546, allocations: 1.273 MB / 3.868 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001609/8.548, allocations: 332.2 kB / 3.868 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/8.548, allocations: 92.19 kB / 3.868 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/8.548, allocations: 3.5 kB / 3.868 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0666/8.615, allocations: 45.1 MB / 3.912 GB, free: 153.2 MB / 0.8855 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