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.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001016/0.001016, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009033/0.0009033, allocations: 90.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.648e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2207, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.519/6.739, allocations: 2.195 GB / 3.087 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/6.74, allocations: 95.06 kB / 3.087 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.702/9.441, allocations: 0.7364 GB / 3.824 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/9.441, allocations: 4 kB / 3.824 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001173/9.441, allocations: 44.11 kB / 3.824 GB, free: 53.32 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.003716/9.445, allocations: 1.552 MB / 3.825 GB, free: 51.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/9.445, allocations: 12.03 kB / 3.825 GB, free: 51.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/9.449, allocations: 489.5 kB / 3.826 GB, free: 51.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/9.451, allocations: 1.097 MB / 3.827 GB, free: 50.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/9.451, allocations: 90.2 kB / 3.827 GB, free: 50 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/9.451, allocations: 115.9 kB / 3.827 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/9.453, allocations: 1.227 MB / 3.828 GB, free: 48.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/9.453, allocations: 0 / 3.828 GB, free: 48.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/9.454, allocations: 48 kB / 3.828 GB, free: 48.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/9.454, allocations: 42.19 kB / 3.828 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/9.455, allocations: 0.9965 MB / 3.829 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/9.462, allocations: 4.559 MB / 3.834 GB, free: 42.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/9.462, allocations: 0.5977 MB / 3.834 GB, free: 42.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/9.463, allocations: 393.3 kB / 3.835 GB, free: 41.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/9.463, allocations: 295.8 kB / 3.835 GB, free: 41.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/9.463, allocations: 47.08 kB / 3.835 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 2.385e-06/9.463, allocations: 0 / 3.835 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.001807/9.465, allocations: 0.8194 MB / 3.836 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/9.465, allocations: 55.97 kB / 3.836 GB, free: 40.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/9.466, allocations: 0.9273 MB / 3.837 GB, free: 39.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/9.466, allocations: 41.7 kB / 3.837 GB, free: 39.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/9.466, allocations: 0.5932 MB / 3.837 GB, free: 38.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/9.467, allocations: 228.7 kB / 3.837 GB, free: 38.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/9.467, allocations: 20 kB / 3.837 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/9.467, allocations: 341.9 kB / 3.838 GB, free: 38.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/9.467, allocations: 285.9 kB / 3.838 GB, free: 37.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/9.468, allocations: 0.5034 MB / 3.839 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/9.468, allocations: 385.8 kB / 3.839 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/9.468, allocations: 4 kB / 3.839 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001167/9.469, allocations: 0.9363 MB / 3.84 GB, free: 36.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/9.469, allocations: 8 kB / 3.84 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/9.469, allocations: 4 kB / 3.84 GB, free: 36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/9.469, allocations: 12 kB / 3.84 GB, free: 35.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/9.47, allocations: 163.7 kB / 3.84 GB, free: 35.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/9.47, allocations: 15.94 kB / 3.84 GB, free: 35.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/9.471, allocations: 139 kB / 3.84 GB, free: 35.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/9.471, allocations: 36 kB / 3.84 GB, free: 35.64 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.0001597/9.472, allocations: 168.7 kB / 3.84 GB, free: 35.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/9.472, allocations: 118.6 kB / 3.84 GB, free: 35.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/9.472, allocations: 139.4 kB / 3.841 GB, free: 35.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/9.472, allocations: 8 kB / 3.841 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/9.472, allocations: 0 / 3.841 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009968/9.473, allocations: 0.9194 MB / 3.842 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/9.476, allocations: 2.299 MB / 3.844 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/9.476, allocations: 7.969 kB / 3.844 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/9.477, allocations: 127.8 kB / 3.844 GB, free: 31.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/9.477, allocations: 97.64 kB / 3.844 GB, free: 31.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/9.477, allocations: 20 kB / 3.844 GB, free: 31.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/9.479, allocations: 2.858 MB / 3.847 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/9.479, allocations: 4 kB / 3.847 GB, free: 28.42 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/9.481, allocations: 1.571 MB / 3.848 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/9.481, allocations: 315.5 kB / 3.849 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/9.481, allocations: 27.98 kB / 3.849 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/9.482, allocations: 71.8 kB / 3.849 GB, free: 26.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/9.482, allocations: 52.27 kB / 3.849 GB, free: 26.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/9.483, allocations: 39.97 kB / 3.849 GB, free: 26.22 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009502/9.483, allocations: 0.7339 MB / 3.85 GB, free: 25.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.484, allocations: 0 / 3.85 GB, free: 25.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001888/9.485, allocations: 0.5579 MB / 3.85 GB, free: 24.92 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.002429/9.488, allocations: 1.656 MB / 3.852 GB, free: 23.17 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001143/9.489, allocations: 0.6912 MB / 3.852 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/9.489, allocations: 0 / 3.852 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/9.49, allocations: 0.5636 MB / 3.853 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/9.494, allocations: 0.8408 MB / 3.854 GB, free: 21.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/9.497, allocations: 2.068 MB / 3.856 GB, free: 18.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/9.498, allocations: 1.27 MB / 3.857 GB, free: 17.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001401/9.499, allocations: 330.7 kB / 3.857 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/9.5, allocations: 91.44 kB / 3.857 GB, free: 17.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.605e-06/9.5, allocations: 0 / 3.857 GB, free: 17.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.6281/10.13, allocations: 49.39 MB / 3.906 GB, free: 172.8 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