Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.176/1.176, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009597/0.0009596, allocations: 181 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.003/1.003, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000776/0.000776, allocations: 83.33 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.362e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.12/3.25, allocations: 2.213 GB / 3.098 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/3.25, allocations: 95.94 kB / 3.098 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.516/4.767, allocations: 0.5656 GB / 3.664 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001164/4.767, allocations: 28.8 kB / 3.664 GB, free: 174.2 MB / 0.8698 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.00345/4.771, allocations: 1.641 MB / 3.665 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/4.771, allocations: 7.781 kB / 3.665 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/4.772, allocations: 346.5 kB / 3.666 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/4.774, allocations: 1.32 MB / 3.667 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/4.774, allocations: 24.69 kB / 3.667 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/4.774, allocations: 55.91 kB / 3.667 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/4.776, allocations: 0.813 MB / 3.668 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/4.777, allocations: 0.9045 MB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/4.777, allocations: 3.188 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/4.777, allocations: 3.938 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/4.777, allocations: 18.31 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/4.781, allocations: 4.506 MB / 3.673 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/4.782, allocations: 0.755 MB / 3.674 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/4.782, allocations: 389.8 kB / 3.674 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/4.783, allocations: 281.5 kB / 3.674 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/4.783, allocations: 37.59 kB / 3.674 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/4.783, allocations: 0 / 3.674 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.00229/4.785, allocations: 1.092 MB / 3.676 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/4.785, allocations: 110.6 kB / 3.676 GB, free: 170 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/4.786, allocations: 1.398 MB / 3.677 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/4.787, allocations: 29.11 kB / 3.677 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/4.787, allocations: 400.2 kB / 3.677 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/4.787, allocations: 167.8 kB / 3.678 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/4.787, allocations: 0 / 3.678 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.534e-05/4.787, allocations: 342.2 kB / 3.678 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/4.788, allocations: 0.6495 MB / 3.679 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008147/4.788, allocations: 1.006 MB / 3.679 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/4.79, allocations: 0.903 MB / 3.68 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/4.79, allocations: 3.594 kB / 3.68 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002875/4.793, allocations: 1.999 MB / 3.682 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/4.793, allocations: 1.848 MB / 3.684 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/4.793, allocations: 10.33 kB / 3.684 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/4.794, allocations: 137.3 kB / 3.684 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/4.795, allocations: 235 kB / 3.684 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007796/4.795, allocations: 1.367 MB / 3.686 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/4.797, allocations: 227.4 kB / 3.686 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/4.797, allocations: 68.3 kB / 3.686 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/4.797, allocations: 3.844 kB / 3.686 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002477/4.799, allocations: 1.717 MB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/4.799, allocations: 10 kB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.525e-06/4.8, allocations: 7.125 kB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/4.8, allocations: 258.3 kB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/4.8, allocations: 15.31 kB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/4.802, allocations: 199.4 kB / 3.688 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/4.802, allocations: 68.52 kB / 3.688 GB, free: 165.6 MB / 0.8698 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.0002129/4.802, allocations: 140.6 kB / 3.688 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/4.802, allocations: 119.2 kB / 3.689 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/4.805, allocations: 1.261 MB / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/4.805, allocations: 3.062 kB / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/4.805, allocations: 0 / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/4.805, allocations: 10.09 kB / 3.69 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/4.809, allocations: 2.447 MB / 3.692 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/4.809, allocations: 0 / 3.692 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/4.809, allocations: 141.7 kB / 3.692 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/4.81, allocations: 144.5 kB / 3.692 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/4.81, allocations: 17.41 kB / 3.692 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006213/4.811, allocations: 1.352 MB / 3.694 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/4.811, allocations: 0 / 3.694 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002613/4.813, allocations: 1.871 MB / 3.696 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/4.814, allocations: 377.4 kB / 3.696 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/4.814, allocations: 3.969 kB / 3.696 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/4.815, allocations: 110.1 kB / 3.696 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/4.815, allocations: 44.89 kB / 3.696 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/4.815, allocations: 39.84 kB / 3.696 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001028/4.816, allocations: 1.057 MB / 3.697 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001738/4.818, allocations: 0.7719 MB / 3.698 GB, free: 163.1 MB / 0.8698 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.001994/4.82, allocations: 1.971 MB / 3.7 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002247/4.822, allocations: 2.176 MB / 3.702 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/4.822, allocations: 0 / 3.702 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/4.823, allocations: 390.9 kB / 3.702 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/4.824, allocations: 325.8 kB / 3.703 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/4.827, allocations: 1.67 MB / 3.704 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008222/4.828, allocations: 1.301 MB / 3.706 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/4.828, allocations: 0 / 3.706 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.0474/4.875, allocations: 37.32 MB / 3.742 GB, free: 160.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches