Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.092/2.092, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00135/0.00135, allocations: 185.3 kB / 487 MB, free: 5.375 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.458/1.458, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.001141/0.001141, allocations: 100.3 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.276e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.03, allocations: 1.871 GB / 3.076 GB, free: 434.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/5.031, allocations: 90.56 kB / 3.076 GB, free: 434.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.17/8.201, allocations: 0.9809 GB / 4.057 GB, free: 343.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001012/8.201, allocations: 31.67 kB / 4.057 GB, free: 343.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.002267/8.203, allocations: 1.135 MB / 4.058 GB, free: 342 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/8.204, allocations: 13.03 kB / 4.058 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/8.204, allocations: 192.9 kB / 4.059 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/8.207, allocations: 1.118 MB / 4.06 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/8.207, allocations: 16 kB / 4.06 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/8.207, allocations: 39.94 kB / 4.06 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007869/8.208, allocations: 489.7 kB / 4.06 GB, free: 340.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/8.209, allocations: 0.6881 MB / 4.061 GB, free: 339.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/8.209, allocations: 0 / 4.061 GB, free: 339.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/8.209, allocations: 4 kB / 4.061 GB, free: 339.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/8.209, allocations: 15.16 kB / 4.061 GB, free: 339.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/8.213, allocations: 4.676 MB / 4.065 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/8.214, allocations: 448.7 kB / 4.066 GB, free: 334 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/8.214, allocations: 248.7 kB / 4.066 GB, free: 333.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/8.214, allocations: 190 kB / 4.066 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/8.214, allocations: 267.5 kB / 4.067 GB, free: 333.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 4.038e-06/8.214, allocations: 3.984 kB / 4.067 GB, free: 333.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.00175/8.216, allocations: 0.7666 MB / 4.067 GB, free: 332.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/8.216, allocations: 85.09 kB / 4.067 GB, free: 332.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/8.217, allocations: 0.8678 MB / 4.068 GB, free: 331.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/8.217, allocations: 33.39 kB / 4.068 GB, free: 331.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/8.218, allocations: 342.6 kB / 4.069 GB, free: 331.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/8.218, allocations: 106.5 kB / 4.069 GB, free: 331 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/8.218, allocations: 0 / 4.069 GB, free: 331 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/8.218, allocations: 326 kB / 4.069 GB, free: 330.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/8.218, allocations: 188.8 kB / 4.069 GB, free: 330.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/8.219, allocations: 0.5014 MB / 4.07 GB, free: 329.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/8.219, allocations: 271.1 kB / 4.07 GB, free: 329.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/8.219, allocations: 0 / 4.07 GB, free: 329.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00142/8.22, allocations: 0.8926 MB / 4.071 GB, free: 328.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005476/8.221, allocations: 2.102 MB / 4.073 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/8.221, allocations: 4 kB / 4.073 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/8.221, allocations: 262.1 kB / 4.073 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/8.222, allocations: 59.91 kB / 4.073 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/8.223, allocations: 1.24 MB / 4.074 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/8.224, allocations: 88 kB / 4.074 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/8.224, allocations: 27.98 kB / 4.074 GB, free: 324.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/8.224, allocations: 6.688 kB / 4.074 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000933/8.225, allocations: 0.5768 MB / 4.075 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/8.225, allocations: 4 kB / 4.075 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/8.226, allocations: 215.1 kB / 4.075 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/8.226, allocations: 74.62 kB / 4.075 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/8.229, allocations: 2.749 MB / 4.078 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/8.23, allocations: 77.88 kB / 4.078 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/8.23, allocations: 20.19 kB / 4.078 GB, free: 321 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.0001875/8.23, allocations: 128.8 kB / 4.078 GB, free: 320.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/8.23, allocations: 98.72 kB / 4.078 GB, free: 320.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/8.231, allocations: 0.645 MB / 4.079 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/8.231, allocations: 11.92 kB / 4.079 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/8.231, allocations: 0 / 4.079 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/8.231, allocations: 4 kB / 4.079 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/8.233, allocations: 1.476 MB / 4.08 GB, free: 318.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/8.233, allocations: 0 / 4.08 GB, free: 318.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/8.233, allocations: 35.28 kB / 4.08 GB, free: 318.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/8.234, allocations: 211.9 kB / 4.081 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/8.234, allocations: 8 kB / 4.081 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008564/8.235, allocations: 1.089 MB / 4.082 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/8.235, allocations: 7.938 kB / 4.082 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009051/8.236, allocations: 0.8481 MB / 4.083 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/8.236, allocations: 215.8 kB / 4.083 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/8.236, allocations: 7.984 kB / 4.083 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/8.237, allocations: 52.52 kB / 4.083 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/8.237, allocations: 35.89 kB / 4.083 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/8.237, allocations: 11.94 kB / 4.083 GB, free: 316 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007367/8.237, allocations: 0.6847 MB / 4.083 GB, free: 315.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001663/8.239, allocations: 487.3 kB / 4.084 GB, free: 314.8 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.001558/8.241, allocations: 1.113 MB / 4.085 GB, free: 313.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00211/8.243, allocations: 1.03 MB / 4.086 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/8.243, allocations: 0 / 4.086 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/8.243, allocations: 259.9 kB / 4.086 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/8.245, allocations: 374.3 kB / 4.087 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/8.248, allocations: 1.394 MB / 4.088 GB, free: 310.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/8.248, allocations: 1.259 MB / 4.089 GB, free: 309.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.363e-06/8.248, allocations: 0 / 4.089 GB, free: 309.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03828/8.287, allocations: 23.05 MB / 4.112 GB, free: 286.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches