Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.967/1.967, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001013/0.001013, allocations: 185.3 kB / 490.8 MB, free: 1.961 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.278/1.278, allocations: 221.4 MB / 0.7863 GB, free: 13.76 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.0009157/0.0009157, allocations: 100.9 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.666e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.771/3.988, allocations: 1.927 GB / 3.139 GB, free: 409.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/3.989, allocations: 95.94 kB / 3.139 GB, free: 409.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.834/5.823, allocations: 0.5932 GB / 3.732 GB, free: 238.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002212/5.823, allocations: 35.94 kB / 3.732 GB, free: 238.4 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.006907/5.83, allocations: 1.806 MB / 3.734 GB, free: 236.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/5.83, allocations: 8.031 kB / 3.734 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/5.833, allocations: 305.7 kB / 3.734 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/5.839, allocations: 1.379 MB / 3.736 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/5.839, allocations: 24 kB / 3.736 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007603/5.84, allocations: 63.91 kB / 3.736 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/5.841, allocations: 0.8121 MB / 3.736 GB, free: 233.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/5.843, allocations: 0.8894 MB / 3.737 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/5.843, allocations: 4 kB / 3.737 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/5.843, allocations: 0 / 3.737 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/5.843, allocations: 31.92 kB / 3.737 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007728/5.851, allocations: 4.722 MB / 3.742 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/5.852, allocations: 0.759 MB / 3.743 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/5.853, allocations: 386 kB / 3.743 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/5.853, allocations: 279 kB / 3.743 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/5.853, allocations: 43 kB / 3.743 GB, free: 226.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 3.346e-06/5.853, allocations: 0 / 3.743 GB, free: 226.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.003324/5.857, allocations: 1.084 MB / 3.744 GB, free: 225.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/5.857, allocations: 115.2 kB / 3.745 GB, free: 225.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/5.859, allocations: 1.402 MB / 3.746 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/5.859, allocations: 25.7 kB / 3.746 GB, free: 223.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/5.86, allocations: 397.5 kB / 3.746 GB, free: 223.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/5.86, allocations: 169.5 kB / 3.746 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/5.86, allocations: 0 / 3.746 GB, free: 223.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/5.86, allocations: 341.9 kB / 3.747 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/5.862, allocations: 0.8335 MB / 3.748 GB, free: 222.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/5.863, allocations: 1.191 MB / 3.749 GB, free: 220.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/5.865, allocations: 0.8926 MB / 3.75 GB, free: 219.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/5.865, allocations: 4 kB / 3.75 GB, free: 219.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004592/5.87, allocations: 2.121 MB / 3.752 GB, free: 217.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005728/5.87, allocations: 1.858 MB / 3.754 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/5.87, allocations: 4 kB / 3.754 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/5.871, allocations: 136.8 kB / 3.754 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/5.872, allocations: 231.6 kB / 3.754 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/5.873, allocations: 1.365 MB / 3.755 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/5.876, allocations: 214.9 kB / 3.755 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/5.876, allocations: 63.98 kB / 3.755 GB, free: 213.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/5.876, allocations: 4.109 kB / 3.755 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/5.879, allocations: 1.867 MB / 3.757 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/5.879, allocations: 8 kB / 3.757 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/5.879, allocations: 12 kB / 3.757 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/5.881, allocations: 239.9 kB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/5.881, allocations: 11.98 kB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/5.883, allocations: 195.1 kB / 3.758 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/5.883, allocations: 63.98 kB / 3.758 GB, free: 211.3 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.000391/5.883, allocations: 138.8 kB / 3.758 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005646/5.884, allocations: 122.4 kB / 3.758 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/5.887, allocations: 1.255 MB / 3.759 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/5.887, allocations: 4 kB / 3.759 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/5.887, allocations: 4 kB / 3.759 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/5.887, allocations: 3.984 kB / 3.759 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/5.892, allocations: 2.441 MB / 3.762 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/5.892, allocations: 0 / 3.762 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/5.893, allocations: 131.9 kB / 3.762 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005884/5.894, allocations: 140.6 kB / 3.762 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/5.894, allocations: 15.98 kB / 3.762 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008382/5.895, allocations: 1.353 MB / 3.763 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/5.895, allocations: 0 / 3.763 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0033/5.898, allocations: 1.879 MB / 3.765 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/5.899, allocations: 375.1 kB / 3.765 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/5.899, allocations: 0 / 3.765 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/5.901, allocations: 103.9 kB / 3.766 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/5.901, allocations: 48.36 kB / 3.766 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/5.901, allocations: 47.92 kB / 3.766 GB, free: 203 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001826/5.903, allocations: 1.064 MB / 3.767 GB, free: 201.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003758/5.907, allocations: 0.8225 MB / 3.768 GB, free: 201.1 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.003277/5.91, allocations: 1.975 MB / 3.769 GB, free: 199.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00428/5.915, allocations: 2.461 MB / 3.772 GB, free: 196.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/5.915, allocations: 0 / 3.772 GB, free: 196.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/5.915, allocations: 379.6 kB / 3.772 GB, free: 196.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/5.918, allocations: 318.1 kB / 3.772 GB, free: 196.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/5.923, allocations: 1.675 MB / 3.774 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/5.925, allocations: 1.312 MB / 3.775 GB, free: 193.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.914e-06/5.925, allocations: 3.938 kB / 3.775 GB, free: 193.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06506/5.99, allocations: 43.48 MB / 3.818 GB, free: 149.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches