Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001158/0.001158, allocations: 178.8 kB / 326.5 MB, free: 2.266 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.01/2.01, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008661/0.0008657, allocations: 96.55 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12.97 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.014/6.248, allocations: 2.442 GB / 3.342 GB, free: 68.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/6.248, allocations: 103.4 kB / 3.342 GB, free: 68.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.866/8.114, allocations: 468.1 MB / 3.799 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/8.114, allocations: 6.812 kB / 3.799 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001269/8.114, allocations: 38.39 kB / 3.799 GB, free: 211.8 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004436/8.119, allocations: 1.762 MB / 3.801 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/8.119, allocations: 8.594 kB / 3.801 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/8.122, allocations: 495.4 kB / 3.801 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/8.125, allocations: 1.325 MB / 3.803 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/8.125, allocations: 75.22 kB / 3.803 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003946/8.126, allocations: 113.8 kB / 3.803 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/8.129, allocations: 1.269 MB / 3.804 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/8.129, allocations: 0.5312 kB / 3.804 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/8.129, allocations: 44.72 kB / 3.804 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/8.129, allocations: 36.42 kB / 3.804 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/8.131, allocations: 1.198 MB / 3.805 GB, free: 210.7 MB / 0.8855 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.006564/8.138, allocations: 4.903 MB / 3.81 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/8.139, allocations: 0.9556 MB / 3.811 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/8.139, allocations: 210.9 kB / 3.811 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/8.139, allocations: 46.5 kB / 3.811 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.767e-06/8.139, allocations: 0 / 3.811 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.005089/8.144, allocations: 2.928 MB / 3.814 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/8.144, allocations: 59.44 kB / 3.814 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/8.145, allocations: 0.8658 MB / 3.815 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/8.145, allocations: 47.08 kB / 3.815 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/8.146, allocations: 0.5384 MB / 3.816 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/8.146, allocations: 289.2 kB / 3.816 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/8.146, allocations: 17 kB / 3.816 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/8.146, allocations: 341.3 kB / 3.816 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/8.147, allocations: 425.9 kB / 3.817 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/8.147, allocations: 0.6095 MB / 3.817 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/8.148, allocations: 0.5332 MB / 3.818 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.148, allocations: 3.344 kB / 3.818 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001579/8.149, allocations: 1.217 MB / 3.819 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/8.15, allocations: 1.055 MB / 3.82 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/8.15, allocations: 3.906 kB / 3.82 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/8.15, allocations: 71.38 kB / 3.82 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/8.151, allocations: 192.7 kB / 3.82 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/8.153, allocations: 3.011 MB / 3.823 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/8.154, allocations: 143.1 kB / 3.823 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/8.154, allocations: 37.81 kB / 3.823 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/8.154, allocations: 3.938 kB / 3.823 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/8.156, allocations: 1.091 MB / 3.825 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/8.156, allocations: 7.406 kB / 3.825 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/8.156, allocations: 78.38 kB / 3.825 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/8.156, allocations: 175 kB / 3.825 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/8.158, allocations: 1.837 MB / 3.827 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/8.159, allocations: 136.4 kB / 3.827 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/8.159, allocations: 29.81 kB / 3.827 GB, free: 201.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001094/8.16, allocations: 0.6122 MB / 3.827 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/8.161, allocations: 109.6 kB / 3.827 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/8.162, allocations: 1.175 MB / 3.829 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/8.162, allocations: 7.812 kB / 3.829 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.162, allocations: 7.703 kB / 3.829 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/8.164, allocations: 1.217 MB / 3.83 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/8.168, allocations: 2.786 MB / 3.832 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/8.168, allocations: 7.5 kB / 3.832 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/8.169, allocations: 232.4 kB / 3.833 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/8.169, allocations: 78.31 kB / 3.833 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/8.169, allocations: 22.88 kB / 3.833 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/8.171, allocations: 3.009 MB / 3.836 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/8.171, allocations: 2.906 kB / 3.836 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/8.173, allocations: 2.005 MB / 3.838 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/8.174, allocations: 337.1 kB / 3.838 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/8.174, allocations: 26.48 kB / 3.838 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/8.175, allocations: 117.1 kB / 3.838 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/8.175, allocations: 65.91 kB / 3.838 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/8.175, allocations: 29.8 kB / 3.838 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008724/8.176, allocations: 0.6927 MB / 3.839 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.176, allocations: 3.188 kB / 3.839 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002424/8.179, allocations: 0.7902 MB / 3.84 GB, free: 197.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/8.181, allocations: 1.355 MB / 3.841 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002642/8.183, allocations: 1.839 MB / 3.843 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/8.183, allocations: 3.281 kB / 3.843 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/8.184, allocations: 0.6635 MB / 3.843 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/8.188, allocations: 0.7792 MB / 3.844 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/8.192, allocations: 3.631 MB / 3.848 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008932/8.193, allocations: 1.466 MB / 3.849 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002114/8.195, allocations: 0.6848 MB / 3.85 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/8.196, allocations: 85.28 kB / 3.85 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/8.196, allocations: 0 / 3.85 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.06098/8.257, allocations: 42.26 MB / 3.891 GB, free: 191.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches