Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001016/0.001016, allocations: 181.2 kB / 316 MB, free: 3.582 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.063/1.063, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008235/0.0008235, allocations: 90.83 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.415/3.561, allocations: 2.185 GB / 3.069 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/3.561, allocations: 87.94 kB / 3.069 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.428/5.989, allocations: 0.9396 GB / 4.009 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.746e-05/5.989, allocations: 30.42 kB / 4.009 GB, free: 236.4 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001458/5.991, allocations: 1.137 MB / 4.01 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/5.991, allocations: 9.094 kB / 4.01 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/5.991, allocations: 190.6 kB / 4.01 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/5.993, allocations: 1.111 MB / 4.011 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/5.993, allocations: 22.94 kB / 4.011 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/5.993, allocations: 41.36 kB / 4.011 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005971/5.994, allocations: 493.6 kB / 4.012 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/5.995, allocations: 0.6778 MB / 4.012 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/5.995, allocations: 6.344 kB / 4.012 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/5.995, allocations: 3.625 kB / 4.012 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/5.995, allocations: 19.09 kB / 4.012 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/5.998, allocations: 4.658 MB / 4.017 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/5.998, allocations: 449.3 kB / 4.017 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/5.998, allocations: 245.2 kB / 4.018 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/5.998, allocations: 201.8 kB / 4.018 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/5.999, allocations: 271.6 kB / 4.018 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/5.999, allocations: 1.969 kB / 4.018 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001417/6, allocations: 0.7511 MB / 4.019 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/6, allocations: 85 kB / 4.019 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007604/6.001, allocations: 0.871 MB / 4.02 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/6.001, allocations: 29.33 kB / 4.02 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/6.001, allocations: 339.8 kB / 4.02 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/6.001, allocations: 108 kB / 4.02 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/6.001, allocations: 0 / 4.02 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/6.001, allocations: 330.5 kB / 4.021 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/6.002, allocations: 185.6 kB / 4.021 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/6.002, allocations: 0.5007 MB / 4.021 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/6.002, allocations: 277.3 kB / 4.022 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/6.002, allocations: 7.812 kB / 4.022 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001272/6.003, allocations: 0.8949 MB / 4.022 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000331/6.004, allocations: 2.102 MB / 4.024 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/6.004, allocations: 3.969 kB / 4.024 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/6.004, allocations: 250.9 kB / 4.025 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/6.004, allocations: 68.83 kB / 4.025 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/6.006, allocations: 1.239 MB / 4.026 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/6.007, allocations: 85.64 kB / 4.026 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/6.007, allocations: 27.06 kB / 4.026 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/6.007, allocations: 4.5 kB / 4.026 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008645/6.007, allocations: 0.5686 MB / 4.027 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/6.007, allocations: 7.656 kB / 4.027 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/6.008, allocations: 224.2 kB / 4.027 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/6.008, allocations: 68.62 kB / 4.027 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/6.011, allocations: 2.748 MB / 4.03 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/6.011, allocations: 76.69 kB / 4.03 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/6.011, allocations: 23.09 kB / 4.03 GB, free: 226 MB / 0.8698 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.0001229/6.011, allocations: 131.4 kB / 4.03 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/6.012, allocations: 96.19 kB / 4.03 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008801/6.012, allocations: 0.6554 MB / 4.031 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/6.012, allocations: 6.312 kB / 4.031 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/6.012, allocations: 0 / 4.031 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/6.012, allocations: 3.609 kB / 4.031 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/6.014, allocations: 1.473 MB / 4.032 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/6.014, allocations: 2.062 kB / 4.032 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/6.014, allocations: 25.39 kB / 4.032 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/6.015, allocations: 211.9 kB / 4.032 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/6.015, allocations: 13.59 kB / 4.032 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/6.016, allocations: 1.092 MB / 4.033 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/6.016, allocations: 2.156 kB / 4.033 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009342/6.017, allocations: 0.8515 MB / 4.034 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/6.017, allocations: 212.4 kB / 4.034 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/6.017, allocations: 6.469 kB / 4.034 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/6.018, allocations: 50.86 kB / 4.034 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/6.018, allocations: 31.33 kB / 4.034 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/6.018, allocations: 11.91 kB / 4.034 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007461/6.019, allocations: 0.6837 MB / 4.035 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001352/6.02, allocations: 483.7 kB / 4.036 GB, free: 223.6 MB / 0.8698 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.001315/6.021, allocations: 1.105 MB / 4.037 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002006/6.023, allocations: 1.036 MB / 4.038 GB, free: 223 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/6.023, allocations: 2.875 kB / 4.038 GB, free: 223 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005125/6.024, allocations: 252.4 kB / 4.038 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/6.025, allocations: 386 kB / 4.038 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/6.028, allocations: 1.388 MB / 4.04 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/6.028, allocations: 1.26 MB / 4.041 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/6.028, allocations: 1.062 kB / 4.041 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03966/6.068, allocations: 23.04 MB / 4.063 GB, free: 217.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches