Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.092/2.092, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.001086/0.001086, allocations: 193.2 kB / 490.8 MB, free: 1.945 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.425/1.425, allocations: 221.3 MB / 0.7863 GB, free: 13.74 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.001089/0.001089, allocations: 94.53 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.307e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.212/4.512, allocations: 1.872 GB / 3.083 GB, free: 433.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/4.512, allocations: 92.89 kB / 3.083 GB, free: 433.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.005/7.517, allocations: 0.9809 GB / 4.064 GB, free: 354.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002121/7.517, allocations: 34.64 kB / 4.064 GB, free: 354.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003317/7.52, allocations: 1.137 MB / 4.065 GB, free: 353 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/7.52, allocations: 8.031 kB / 4.065 GB, free: 353 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/7.522, allocations: 193.2 kB / 4.066 GB, free: 352.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/7.525, allocations: 1.117 MB / 4.067 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/7.525, allocations: 16 kB / 4.067 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/7.525, allocations: 40 kB / 4.067 GB, free: 351.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007887/7.526, allocations: 493.7 kB / 4.067 GB, free: 351.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/7.527, allocations: 0.6936 MB / 4.068 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/7.527, allocations: 3.938 kB / 4.068 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/7.527, allocations: 4 kB / 4.068 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/7.527, allocations: 12 kB / 4.068 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/7.53, allocations: 4.66 MB / 4.073 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/7.531, allocations: 447.3 kB / 4.073 GB, free: 345 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/7.531, allocations: 251.1 kB / 4.073 GB, free: 344.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/7.531, allocations: 186.2 kB / 4.073 GB, free: 344.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/7.532, allocations: 273.7 kB / 4.074 GB, free: 344.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/7.532, allocations: 0 / 4.074 GB, free: 344.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001567/7.533, allocations: 0.7562 MB / 4.074 GB, free: 343.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/7.533, allocations: 85.09 kB / 4.074 GB, free: 343.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/7.534, allocations: 0.8844 MB / 4.075 GB, free: 342.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/7.534, allocations: 29.7 kB / 4.075 GB, free: 342.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/7.534, allocations: 328.6 kB / 4.076 GB, free: 342.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/7.534, allocations: 112.3 kB / 4.076 GB, free: 342.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/7.534, allocations: 0 / 4.076 GB, free: 342.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/7.534, allocations: 322 kB / 4.076 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/7.535, allocations: 188.8 kB / 4.076 GB, free: 341.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/7.535, allocations: 0.5042 MB / 4.077 GB, free: 340.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/7.535, allocations: 271.9 kB / 4.077 GB, free: 340.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/7.535, allocations: 4 kB / 4.077 GB, free: 340.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001332/7.537, allocations: 0.8832 MB / 4.078 GB, free: 339.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003468/7.537, allocations: 2.106 MB / 4.08 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/7.537, allocations: 8 kB / 4.08 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/7.537, allocations: 258.8 kB / 4.08 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/7.538, allocations: 63.84 kB / 4.08 GB, free: 337.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/7.539, allocations: 1.241 MB / 4.081 GB, free: 336 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/7.54, allocations: 80.92 kB / 4.082 GB, free: 335.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/7.54, allocations: 31.97 kB / 4.082 GB, free: 335.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/7.54, allocations: 4 kB / 4.082 GB, free: 335.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008883/7.541, allocations: 0.5928 MB / 4.082 GB, free: 335.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/7.541, allocations: 8 kB / 4.082 GB, free: 335.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/7.541, allocations: 207.6 kB / 4.082 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/7.542, allocations: 63.91 kB / 4.082 GB, free: 335 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/7.544, allocations: 2.755 MB / 4.085 GB, free: 332.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/7.545, allocations: 75.78 kB / 4.085 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/7.545, allocations: 20 kB / 4.085 GB, free: 332.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/7.545, allocations: 124.3 kB / 4.085 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/7.545, allocations: 98.78 kB / 4.085 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/7.546, allocations: 0.6489 MB / 4.086 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/7.546, allocations: 4 kB / 4.086 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/7.546, allocations: 3.938 kB / 4.086 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/7.546, allocations: 3.094 kB / 4.086 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/7.548, allocations: 1.481 MB / 4.088 GB, free: 329.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/7.548, allocations: 3.219 kB / 4.088 GB, free: 329.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/7.548, allocations: 27.92 kB / 4.088 GB, free: 329.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/7.549, allocations: 215.8 kB / 4.088 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/7.549, allocations: 8 kB / 4.088 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008353/7.55, allocations: 1.097 MB / 4.089 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/7.55, allocations: 0 / 4.089 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008123/7.55, allocations: 0.8555 MB / 4.09 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/7.551, allocations: 211.8 kB / 4.09 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/7.551, allocations: 7.125 kB / 4.09 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/7.551, allocations: 50.47 kB / 4.09 GB, free: 327.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/7.551, allocations: 31.95 kB / 4.09 GB, free: 327.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/7.551, allocations: 15.5 kB / 4.09 GB, free: 327.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006447/7.552, allocations: 0.6847 MB / 4.091 GB, free: 326.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00141/7.553, allocations: 480.2 kB / 4.091 GB, free: 325.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/7.555, allocations: 1.102 MB / 4.092 GB, free: 325.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001904/7.557, allocations: 1.028 MB / 4.093 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.557, allocations: 3.938 kB / 4.093 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/7.557, allocations: 263.5 kB / 4.093 GB, free: 323.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/7.559, allocations: 376.3 kB / 4.094 GB, free: 323.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/7.561, allocations: 1.386 MB / 4.095 GB, free: 321.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/7.561, allocations: 1.259 MB / 4.096 GB, free: 320.7 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/7.561, allocations: 0 / 4.096 GB, free: 320.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03221/7.594, allocations: 23.07 MB / 4.119 GB, free: 298 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches