Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001221/0.001221, allocations: 189.2 kB / 487 MB, free: 5.418 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.536/1.536, allocations: 221.3 MB / 0.7819 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 97.08 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.025e-05/1.048e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3446, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/5.683, allocations: 2.166 GB / 3.371 GB, free: 152 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.683, allocations: 91.94 kB / 3.371 GB, free: 151.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.583/8.267, allocations: 0.7206 GB / 4.092 GB, free: 279.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002571/8.267, allocations: 44.31 kB / 4.092 GB, free: 279.1 MB / 1.151 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.005941/8.273, allocations: 1.539 MB / 4.093 GB, free: 278.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/8.273, allocations: 9.672 kB / 4.093 GB, free: 278.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/8.278, allocations: 0.5077 MB / 4.094 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/8.283, allocations: 1.402 MB / 4.095 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/8.283, allocations: 33.06 kB / 4.095 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005965/8.284, allocations: 65.59 kB / 4.095 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003582/8.287, allocations: 1.236 MB / 4.096 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/8.291, allocations: 1.191 MB / 4.098 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/8.291, allocations: 4.469 kB / 4.098 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/8.291, allocations: 1.125 kB / 4.098 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/8.292, allocations: 39.84 kB / 4.098 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/8.303, allocations: 5.125 MB / 4.103 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/8.304, allocations: 0.6014 MB / 4.103 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/8.305, allocations: 0.597 MB / 4.104 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/8.305, allocations: 205.9 kB / 4.104 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/8.305, allocations: 40.19 kB / 4.104 GB, free: 275.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 5.14e-06/8.305, allocations: 5.75 kB / 4.104 GB, free: 275.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.007909/8.313, allocations: 2.68 MB / 4.107 GB, free: 274.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/8.313, allocations: 63.56 kB / 4.107 GB, free: 274.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/8.315, allocations: 0.7912 MB / 4.108 GB, free: 273.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/8.315, allocations: 28.45 kB / 4.108 GB, free: 273.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/8.316, allocations: 401.3 kB / 4.108 GB, free: 273.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/8.316, allocations: 297.1 kB / 4.108 GB, free: 273.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/8.316, allocations: 0 / 4.108 GB, free: 273.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/8.316, allocations: 340.1 kB / 4.109 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/8.317, allocations: 458.5 kB / 4.109 GB, free: 272.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/8.318, allocations: 0.601 MB / 4.11 GB, free: 272.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/8.319, allocations: 0.5694 MB / 4.11 GB, free: 272.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/8.319, allocations: 2.75 kB / 4.11 GB, free: 272.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002439/8.321, allocations: 1.234 MB / 4.111 GB, free: 272 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/8.322, allocations: 0.7911 MB / 4.112 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/8.322, allocations: 2.562 kB / 4.112 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/8.322, allocations: 69.09 kB / 4.112 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/8.323, allocations: 189.2 kB / 4.112 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/8.325, allocations: 2.907 MB / 4.115 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/8.327, allocations: 116.4 kB / 4.115 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/8.328, allocations: 29.47 kB / 4.115 GB, free: 268.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/8.328, allocations: 3.719 kB / 4.115 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002347/8.33, allocations: 1.098 MB / 4.116 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/8.33, allocations: 3.219 kB / 4.116 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/8.33, allocations: 78.55 kB / 4.117 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008467/8.331, allocations: 167.8 kB / 4.117 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/8.333, allocations: 1.719 MB / 4.118 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/8.335, allocations: 121.2 kB / 4.118 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/8.335, allocations: 26.38 kB / 4.118 GB, free: 266.7 MB / 1.151 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 () * 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.000375/8.335, allocations: 114 kB / 4.119 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/8.336, allocations: 110.6 kB / 4.119 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/8.339, allocations: 1.215 MB / 4.12 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/8.339, allocations: 7.531 kB / 4.12 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/8.339, allocations: 6.344 kB / 4.12 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002139/8.341, allocations: 1.277 MB / 4.121 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/8.347, allocations: 2.745 MB / 4.124 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/8.347, allocations: 6.906 kB / 4.124 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/8.348, allocations: 222.7 kB / 4.124 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/8.349, allocations: 69.31 kB / 4.124 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/8.349, allocations: 21.89 kB / 4.124 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/8.351, allocations: 2.888 MB / 4.127 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/8.351, allocations: 10.5 kB / 4.127 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002963/8.354, allocations: 2.017 MB / 4.129 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/8.355, allocations: 329.8 kB / 4.129 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/8.355, allocations: 11.5 kB / 4.129 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/8.357, allocations: 87.94 kB / 4.129 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/8.357, allocations: 52.77 kB / 4.129 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/8.357, allocations: 28.92 kB / 4.129 GB, free: 260.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001169/8.358, allocations: 0.6279 MB / 4.13 GB, free: 260.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003966/8.362, allocations: 0.7384 MB / 4.131 GB, free: 260.4 MB / 1.151 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 () * 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.003009/8.365, allocations: 1.516 MB / 4.132 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004312/8.369, allocations: 1.924 MB / 4.134 GB, free: 259.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/8.369, allocations: 0 / 4.134 GB, free: 259.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/8.371, allocations: 0.679 MB / 4.135 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/8.376, allocations: 0.7008 MB / 4.135 GB, free: 258.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/8.383, allocations: 2.728 MB / 4.138 GB, free: 258.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002837/8.386, allocations: 1.578 MB / 4.14 GB, free: 257.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/8.386, allocations: 0.5938 kB / 4.14 GB, free: 257.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06713/8.454, allocations: 37.87 MB / 4.177 GB, free: 223.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches