Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") [: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.01/2.01, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001031/0.001031, allocations: 185.3 kB / 487 MB, free: 5.316 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.454/1.454, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.001162/0.001161, allocations: 93.55 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.292e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.286, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.587, allocations: 1.867 GB / 3.072 GB, free: 437.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/4.587, allocations: 85.44 kB / 3.072 GB, free: 437.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.136/7.723, allocations: 0.9665 GB / 4.039 GB, free: 362.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001724/7.723, allocations: 32.52 kB / 4.039 GB, free: 362.8 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002606/7.726, allocations: 1.071 MB / 4.04 GB, free: 362.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/7.726, allocations: 9.844 kB / 4.04 GB, free: 362.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/7.727, allocations: 185.6 kB / 4.04 GB, free: 362 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/7.729, allocations: 1.08 MB / 4.041 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/7.729, allocations: 18.16 kB / 4.041 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/7.729, allocations: 35.72 kB / 4.041 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008707/7.73, allocations: 0.4961 MB / 4.042 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008569/7.731, allocations: 0.5741 MB / 4.042 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/7.731, allocations: 0 / 4.042 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/7.731, allocations: 0 / 4.042 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/7.731, allocations: 20.88 kB / 4.042 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/7.735, allocations: 3.331 MB / 4.046 GB, free: 357.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/7.736, allocations: 431.1 kB / 4.046 GB, free: 357.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/7.736, allocations: 244.1 kB / 4.046 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/7.736, allocations: 195.4 kB / 4.046 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/7.736, allocations: 36.08 kB / 4.046 GB, free: 357.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/7.736, allocations: 5.312 kB / 4.046 GB, free: 357.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001973/7.738, allocations: 0.7624 MB / 4.047 GB, free: 357 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/7.738, allocations: 53.91 kB / 4.047 GB, free: 356.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/7.739, allocations: 0.7903 MB / 4.048 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/7.739, allocations: 28.23 kB / 4.048 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/7.74, allocations: 293.3 kB / 4.048 GB, free: 356.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/7.74, allocations: 92.91 kB / 4.048 GB, free: 356.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/7.74, allocations: 0 / 4.048 GB, free: 356.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/7.74, allocations: 317.5 kB / 4.049 GB, free: 355.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/7.74, allocations: 145 kB / 4.049 GB, free: 355.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/7.74, allocations: 349.1 kB / 4.049 GB, free: 355.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/7.741, allocations: 186.6 kB / 4.049 GB, free: 355.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/7.741, allocations: 0 / 4.049 GB, free: 355.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00158/7.742, allocations: 0.737 MB / 4.05 GB, free: 355.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/7.742, allocations: 357.5 kB / 4.05 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/7.742, allocations: 4.734 kB / 4.05 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/7.743, allocations: 228.9 kB / 4.051 GB, free: 354.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/7.743, allocations: 25.2 kB / 4.051 GB, free: 354.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/7.744, allocations: 1.137 MB / 4.052 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008608/7.745, allocations: 64.89 kB / 4.052 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/7.745, allocations: 14.7 kB / 4.052 GB, free: 353.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/7.745, allocations: 3.219 kB / 4.052 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009821/7.746, allocations: 457.6 kB / 4.052 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/7.746, allocations: 2.031 kB / 4.052 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/7.747, allocations: 199.1 kB / 4.053 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/7.747, allocations: 24.52 kB / 4.053 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/7.75, allocations: 2.77 MB / 4.055 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/7.751, allocations: 64.56 kB / 4.055 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/7.751, allocations: 8.438 kB / 4.055 GB, free: 351.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/7.752, allocations: 114.5 kB / 4.055 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/7.752, allocations: 87.78 kB / 4.056 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/7.753, allocations: 0.6544 MB / 4.056 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/7.753, allocations: 9.312 kB / 4.056 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/7.753, allocations: 4.594 kB / 4.056 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.753, allocations: 7.641 kB / 4.056 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/7.756, allocations: 1.386 MB / 4.058 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/7.756, allocations: 4 kB / 4.058 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/7.756, allocations: 23.98 kB / 4.058 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/7.757, allocations: 188.3 kB / 4.058 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/7.757, allocations: 4 kB / 4.058 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/7.757, allocations: 1.026 MB / 4.059 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.757, allocations: 3.031 kB / 4.059 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000878/7.758, allocations: 0.8265 MB / 4.06 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/7.759, allocations: 208.9 kB / 4.06 GB, free: 347.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/7.759, allocations: 4 kB / 4.06 GB, free: 347.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/7.759, allocations: 50.77 kB / 4.06 GB, free: 347.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/7.759, allocations: 19.97 kB / 4.06 GB, free: 347.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/7.759, allocations: 12 kB / 4.06 GB, free: 347.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000665/7.76, allocations: 0.6315 MB / 4.06 GB, free: 346.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001565/7.762, allocations: 455.5 kB / 4.061 GB, free: 346.4 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/7.763, allocations: 1.039 MB / 4.062 GB, free: 345.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001235/7.764, allocations: 0.6805 MB / 4.063 GB, free: 345 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/7.764, allocations: 0 / 4.063 GB, free: 345 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/7.765, allocations: 189.5 kB / 4.063 GB, free: 344.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/7.766, allocations: 362 kB / 4.063 GB, free: 344.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/7.769, allocations: 1.359 MB / 4.064 GB, free: 343 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/7.77, allocations: 1.246 MB / 4.066 GB, free: 341.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/7.77, allocations: 0 / 4.066 GB, free: 341.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03456/7.804, allocations: 21.83 MB / 4.087 GB, free: 320.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches