Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") [: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 1.931/1.931, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001126/0.001126, allocations: 183.9 kB / 487 MB, free: 5.371 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.292/1.292, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.001044/0.001044, allocations: 102.3 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.612e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2384, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.839/4.078, allocations: 1.926 GB / 3.132 GB, free: 396.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/4.078, allocations: 102.9 kB / 3.132 GB, free: 396.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.614/5.692, allocations: 0.5932 GB / 3.725 GB, free: 229.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.405e-05/5.692, allocations: 32 kB / 3.725 GB, free: 229.6 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003403/5.695, allocations: 1.8 MB / 3.727 GB, free: 227.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/5.695, allocations: 13.03 kB / 3.727 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/5.697, allocations: 309.7 kB / 3.727 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/5.699, allocations: 1.377 MB / 3.728 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/5.699, allocations: 23.91 kB / 3.728 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/5.699, allocations: 60 kB / 3.728 GB, free: 225.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/5.7, allocations: 0.8121 MB / 3.729 GB, free: 225.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/5.701, allocations: 0.9015 MB / 3.73 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/5.701, allocations: 4 kB / 3.73 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/5.701, allocations: 0 / 3.73 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/5.701, allocations: 23.98 kB / 3.73 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/5.706, allocations: 4.734 MB / 3.735 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/5.707, allocations: 0.7494 MB / 3.736 GB, free: 218.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/5.708, allocations: 389.9 kB / 3.736 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/5.708, allocations: 282.1 kB / 3.736 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/5.708, allocations: 39 kB / 3.736 GB, free: 217.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 2.024e-06/5.708, allocations: 0 / 3.736 GB, free: 217.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.002424/5.71, allocations: 1.088 MB / 3.737 GB, free: 216.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/5.71, allocations: 111.2 kB / 3.737 GB, free: 216.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/5.712, allocations: 1.398 MB / 3.739 GB, free: 215.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/5.712, allocations: 25.7 kB / 3.739 GB, free: 215 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/5.712, allocations: 416.5 kB / 3.739 GB, free: 214.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/5.712, allocations: 165.5 kB / 3.739 GB, free: 214.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/5.712, allocations: 0 / 3.739 GB, free: 214.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/5.712, allocations: 345.9 kB / 3.74 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009499/5.713, allocations: 0.8296 MB / 3.74 GB, free: 213.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/5.715, allocations: 1.191 MB / 3.742 GB, free: 211.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/5.716, allocations: 0.8889 MB / 3.743 GB, free: 211 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/5.716, allocations: 4 kB / 3.743 GB, free: 211 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003492/5.72, allocations: 2.114 MB / 3.745 GB, free: 208.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003491/5.72, allocations: 1.858 MB / 3.746 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/5.72, allocations: 4 kB / 3.746 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/5.721, allocations: 128.9 kB / 3.747 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/5.722, allocations: 231.7 kB / 3.747 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000838/5.723, allocations: 1.361 MB / 3.748 GB, free: 205.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/5.724, allocations: 219 kB / 3.748 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/5.725, allocations: 67.97 kB / 3.748 GB, free: 204.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/5.725, allocations: 4 kB / 3.748 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003015/5.728, allocations: 1.851 MB / 3.75 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/5.728, allocations: 4 kB / 3.75 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/5.728, allocations: 12 kB / 3.75 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/5.729, allocations: 252.2 kB / 3.75 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/5.729, allocations: 12 kB / 3.75 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/5.731, allocations: 195.1 kB / 3.751 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/5.731, allocations: 63.98 kB / 3.751 GB, free: 202.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003159/5.731, allocations: 148.7 kB / 3.751 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/5.731, allocations: 122.4 kB / 3.751 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/5.734, allocations: 1.255 MB / 3.752 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/5.734, allocations: 4 kB / 3.752 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/5.734, allocations: 3.938 kB / 3.752 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/5.734, allocations: 3.938 kB / 3.752 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/5.738, allocations: 2.441 MB / 3.755 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/5.738, allocations: 0 / 3.755 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/5.739, allocations: 139 kB / 3.755 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/5.739, allocations: 136.8 kB / 3.755 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/5.739, allocations: 11.98 kB / 3.755 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006859/5.74, allocations: 1.364 MB / 3.756 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/5.74, allocations: 0 / 3.756 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002739/5.743, allocations: 1.868 MB / 3.758 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/5.743, allocations: 375.2 kB / 3.758 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/5.744, allocations: 3.984 kB / 3.758 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/5.745, allocations: 107.9 kB / 3.758 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/5.745, allocations: 40.39 kB / 3.758 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/5.745, allocations: 47.95 kB / 3.759 GB, free: 194.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0013/5.746, allocations: 1.057 MB / 3.76 GB, free: 193.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002761/5.749, allocations: 0.8267 MB / 3.76 GB, free: 192.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/5.752, allocations: 1.989 MB / 3.762 GB, free: 190.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003323/5.755, allocations: 2.457 MB / 3.765 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/5.755, allocations: 3.938 kB / 3.765 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005026/5.756, allocations: 373.4 kB / 3.765 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/5.757, allocations: 325.7 kB / 3.765 GB, free: 187.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/5.761, allocations: 1.683 MB / 3.767 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/5.762, allocations: 1.3 MB / 3.768 GB, free: 184.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.5e-07/5.762, allocations: 0 / 3.768 GB, free: 184.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05762/5.82, allocations: 43.48 MB / 3.811 GB, free: 141 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches