Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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 10.0.0-master/package.mo): time 2.026/2.026, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001211/0.001211, allocations: 194.1 kB / 490.8 MB, free: 1.941 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.527/1.527, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.001156/0.001156, allocations: 96.66 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.735e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.048/4.376, allocations: 1.896 GB / 3.107 GB, free: 430.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/4.377, allocations: 86.53 kB / 3.107 GB, free: 430.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.857/7.233, allocations: 1.01 GB / 4.117 GB, free: 225.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001519/7.233, allocations: 29.88 kB / 4.117 GB, free: 225.9 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007485/7.241, allocations: 1.827 MB / 4.119 GB, free: 225.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/7.241, allocations: 7.062 kB / 4.119 GB, free: 225.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/7.245, allocations: 0.5945 MB / 4.12 GB, free: 225.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/7.249, allocations: 1.082 MB / 4.121 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006717/7.25, allocations: 179.5 kB / 4.121 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/7.25, allocations: 54.44 kB / 4.121 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002148/7.252, allocations: 1.018 MB / 4.122 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/7.255, allocations: 1.038 MB / 4.123 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/7.255, allocations: 0.5312 kB / 4.123 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/7.255, allocations: 4.188 kB / 4.123 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/7.255, allocations: 43.77 kB / 4.123 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008851/7.264, allocations: 4.108 MB / 4.127 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/7.265, allocations: 0.725 MB / 4.128 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008913/7.266, allocations: 0.5054 MB / 4.128 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/7.267, allocations: 0.6221 MB / 4.129 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/7.267, allocations: 42.38 kB / 4.129 GB, free: 222.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/7.267, allocations: 0 / 4.129 GB, free: 222.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003071/7.27, allocations: 1.189 MB / 4.13 GB, free: 222.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/7.27, allocations: 59.78 kB / 4.13 GB, free: 222.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008654/7.271, allocations: 0.5649 MB / 4.131 GB, free: 222.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/7.271, allocations: 32.39 kB / 4.131 GB, free: 222.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/7.272, allocations: 334.1 kB / 4.131 GB, free: 222.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/7.272, allocations: 248.9 kB / 4.131 GB, free: 222 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/7.272, allocations: 4.641 kB / 4.131 GB, free: 222 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/7.272, allocations: 336.8 kB / 4.132 GB, free: 221.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/7.273, allocations: 409.8 kB / 4.132 GB, free: 221.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/7.273, allocations: 0.5403 MB / 4.133 GB, free: 221.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/7.275, allocations: 0.6135 MB / 4.133 GB, free: 221.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/7.275, allocations: 0 / 4.133 GB, free: 221.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002313/7.277, allocations: 1.218 MB / 4.134 GB, free: 221.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/7.277, allocations: 455.8 kB / 4.135 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/7.277, allocations: 0 / 4.135 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/7.277, allocations: 5.625 kB / 4.135 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/7.279, allocations: 288.5 kB / 4.135 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000594/7.279, allocations: 1.207 MB / 4.136 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/7.281, allocations: 187.8 kB / 4.136 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/7.281, allocations: 40.39 kB / 4.136 GB, free: 219.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/7.281, allocations: 3.938 kB / 4.136 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002055/7.283, allocations: 1.094 MB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/7.283, allocations: 1.156 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/7.283, allocations: 4.062 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/7.285, allocations: 270.1 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/7.285, allocations: 10.16 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/7.286, allocations: 176.9 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/7.286, allocations: 44.47 kB / 4.138 GB, free: 219.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000289/7.286, allocations: 122.2 kB / 4.138 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/7.287, allocations: 96.56 kB / 4.138 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/7.289, allocations: 1.263 MB / 4.139 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/7.289, allocations: 10.62 kB / 4.139 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.289, allocations: 0 / 4.139 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/7.289, allocations: 4.938 kB / 4.139 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/7.294, allocations: 2.645 MB / 4.142 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/7.294, allocations: 6.688 kB / 4.142 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/7.296, allocations: 273.7 kB / 4.142 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/7.296, allocations: 6.062 kB / 4.142 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/7.296, allocations: 23 kB / 4.142 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/7.297, allocations: 1.202 MB / 4.143 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/7.297, allocations: 5.781 kB / 4.144 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002559/7.299, allocations: 1.535 MB / 4.145 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/7.3, allocations: 307.5 kB / 4.145 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/7.3, allocations: 8.281 kB / 4.145 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/7.301, allocations: 173.8 kB / 4.145 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/7.302, allocations: 55.02 kB / 4.146 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/7.302, allocations: 38.95 kB / 4.146 GB, free: 217.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007601/7.302, allocations: 446.7 kB / 4.146 GB, free: 217.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0028/7.305, allocations: 0.6903 MB / 4.147 GB, free: 217.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.004324/7.31, allocations: 2.636 MB / 4.149 GB, free: 216.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003343/7.313, allocations: 1.606 MB / 4.151 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/7.313, allocations: 0.8438 kB / 4.151 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/7.314, allocations: 0.541 MB / 4.151 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/7.316, allocations: 416.8 kB / 4.152 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/7.332, allocations: 2.418 MB / 4.154 GB, free: 215.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/7.333, allocations: 1.243 MB / 4.155 GB, free: 214.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/7.333, allocations: 0 / 4.155 GB, free: 214.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06128/7.394, allocations: 38.37 MB / 4.193 GB, free: 191.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches