Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001136/0.001136, allocations: 187.9 kB / 0.4902 GB, free: 2.215 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.563/1.563, allocations: 223.2 MB / 0.7992 GB, free: 14.65 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.001073/0.001073, allocations: 100.2 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004095, allocations: 11.08 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.096/6.44, allocations: 2.167 GB / 3.397 GB, free: 223.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/6.44, allocations: 105.6 kB / 3.397 GB, free: 223.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.732/9.172, allocations: 0.7213 GB / 4.118 GB, free: 301.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/9.172, allocations: 0 / 4.118 GB, free: 301.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002417/9.173, allocations: 42.27 kB / 4.118 GB, free: 301.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005911/9.179, allocations: 1.821 MB / 4.12 GB, free: 300.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/9.179, allocations: 14.38 kB / 4.12 GB, free: 300.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/9.183, allocations: 493.8 kB / 4.12 GB, free: 300.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/9.187, allocations: 1.366 MB / 4.122 GB, free: 300.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/9.187, allocations: 81.69 kB / 4.122 GB, free: 300.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/9.187, allocations: 112 kB / 4.122 GB, free: 300.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/9.19, allocations: 1.311 MB / 4.123 GB, free: 300.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/9.19, allocations: 0 / 4.123 GB, free: 300.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/9.19, allocations: 48.89 kB / 4.123 GB, free: 300.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/9.19, allocations: 47.09 kB / 4.123 GB, free: 300.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/9.192, allocations: 1.244 MB / 4.124 GB, free: 300.2 MB / 1.167 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.006653/9.198, allocations: 5.035 MB / 4.129 GB, free: 298.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/9.199, allocations: 0.9441 MB / 4.13 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/9.2, allocations: 207.4 kB / 4.131 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/9.2, allocations: 46.94 kB / 4.131 GB, free: 297.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 2.765e-06/9.2, allocations: 0 / 4.131 GB, free: 297.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005038/9.205, allocations: 3.124 MB / 4.134 GB, free: 297.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/9.205, allocations: 59 kB / 4.134 GB, free: 297.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/9.206, allocations: 0.9215 MB / 4.135 GB, free: 297.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/9.206, allocations: 46.77 kB / 4.135 GB, free: 297.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/9.206, allocations: 0.5491 MB / 4.135 GB, free: 296.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/9.207, allocations: 299 kB / 4.135 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/9.207, allocations: 21.25 kB / 4.135 GB, free: 296.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/9.207, allocations: 339.3 kB / 4.136 GB, free: 296.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/9.207, allocations: 454.2 kB / 4.136 GB, free: 296.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/9.208, allocations: 0.6092 MB / 4.137 GB, free: 296.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/9.208, allocations: 0.5561 MB / 4.137 GB, free: 296.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/9.208, allocations: 3.219 kB / 4.137 GB, free: 296.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001521/9.21, allocations: 1.261 MB / 4.139 GB, free: 296.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/9.21, allocations: 0.7969 MB / 4.139 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/9.21, allocations: 0 / 4.139 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/9.21, allocations: 77.77 kB / 4.139 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/9.211, allocations: 183.5 kB / 4.14 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/9.213, allocations: 3.018 MB / 4.143 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/9.214, allocations: 160 kB / 4.143 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/9.215, allocations: 28.62 kB / 4.143 GB, free: 292.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/9.215, allocations: 5.219 kB / 4.143 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/9.216, allocations: 1.14 MB / 4.144 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/9.216, allocations: 3.406 kB / 4.144 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/9.216, allocations: 72.67 kB / 4.144 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/9.217, allocations: 173.7 kB / 4.144 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/9.218, allocations: 1.829 MB / 4.146 GB, free: 291.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/9.219, allocations: 151.5 kB / 4.146 GB, free: 291.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/9.219, allocations: 34.25 kB / 4.146 GB, free: 291.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0008043/9.22, allocations: 0.6033 MB / 4.147 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/9.22, allocations: 124.1 kB / 4.147 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/9.222, allocations: 1.253 MB / 4.148 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/9.222, allocations: 11.72 kB / 4.148 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/9.222, allocations: 3.938 kB / 4.148 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/9.223, allocations: 1.297 MB / 4.149 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/9.227, allocations: 2.909 MB / 4.152 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/9.227, allocations: 3.094 kB / 4.152 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/9.228, allocations: 240.7 kB / 4.152 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/9.229, allocations: 66.25 kB / 4.152 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/9.229, allocations: 23.89 kB / 4.152 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/9.23, allocations: 3.008 MB / 4.155 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/9.23, allocations: 3.625 kB / 4.155 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/9.233, allocations: 2.024 MB / 4.157 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/9.234, allocations: 333.4 kB / 4.158 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/9.234, allocations: 24.97 kB / 4.158 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/9.235, allocations: 114.5 kB / 4.158 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/9.235, allocations: 61.67 kB / 4.158 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/9.235, allocations: 29.14 kB / 4.158 GB, free: 287.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009381/9.236, allocations: 0.7436 MB / 4.159 GB, free: 287.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/9.236, allocations: 0 / 4.159 GB, free: 287.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002321/9.238, allocations: 0.8004 MB / 4.159 GB, free: 287.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * 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 (79): * Single equations (assignments): 76 * 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.001852/9.24, allocations: 1.35 MB / 4.161 GB, free: 286.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002637/9.243, allocations: 1.941 MB / 4.163 GB, free: 286.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/9.243, allocations: 0 / 4.163 GB, free: 286.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/9.244, allocations: 0.6868 MB / 4.163 GB, free: 286.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/9.247, allocations: 0.787 MB / 4.164 GB, free: 286.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/9.252, allocations: 3.73 MB / 4.168 GB, free: 285.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/9.253, allocations: 1.486 MB / 4.169 GB, free: 284.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001789/9.254, allocations: 0.688 MB / 4.17 GB, free: 284.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/9.255, allocations: 89.09 kB / 4.17 GB, free: 284.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/9.255, allocations: 0 / 4.17 GB, free: 284.3 MB / 1.167 GB Notification: Performance of Templates: time 0.05173/9.306, allocations: 42.28 MB / 4.211 GB, free: 282.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches