Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.024/2.024, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001111/0.001112, allocations: 177.2 kB / 490.8 MB, free: 1.938 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.333/1.333, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.00111/0.00111, allocations: 97.05 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2834, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.754/4.038, allocations: 1.868 GB / 3.08 GB, free: 1.457 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/4.038, allocations: 79.95 kB / 3.08 GB, free: 1.379 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.631/7.669, allocations: 0.9665 GB / 4.046 GB, free: 364.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001583/7.669, allocations: 30.22 kB / 4.046 GB, free: 364.3 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.002895/7.672, allocations: 1.075 MB / 4.047 GB, free: 363.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/7.672, allocations: 8.344 kB / 4.047 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/7.673, allocations: 185.9 kB / 4.047 GB, free: 363.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/7.677, allocations: 1.082 MB / 4.048 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/7.677, allocations: 15.59 kB / 4.048 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/7.677, allocations: 35.62 kB / 4.048 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009386/7.678, allocations: 0.4924 MB / 4.049 GB, free: 362.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/7.679, allocations: 0.5732 MB / 4.049 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/7.679, allocations: 6.219 kB / 4.049 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/7.679, allocations: 1.219 kB / 4.049 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/7.679, allocations: 11.19 kB / 4.049 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/7.682, allocations: 3.338 MB / 4.053 GB, free: 359.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/7.683, allocations: 438.1 kB / 4.053 GB, free: 359.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/7.683, allocations: 247 kB / 4.053 GB, free: 359.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/7.684, allocations: 195.6 kB / 4.054 GB, free: 358.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/7.684, allocations: 40.22 kB / 4.054 GB, free: 358.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/7.684, allocations: 0 / 4.054 GB, free: 358.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001897/7.686, allocations: 0.7496 MB / 4.054 GB, free: 358.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/7.686, allocations: 57.59 kB / 4.054 GB, free: 358.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/7.687, allocations: 0.7906 MB / 4.055 GB, free: 358 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/7.687, allocations: 27.73 kB / 4.055 GB, free: 358 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/7.687, allocations: 289.2 kB / 4.055 GB, free: 357.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/7.687, allocations: 96.03 kB / 4.056 GB, free: 357.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/7.687, allocations: 0 / 4.056 GB, free: 357.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/7.687, allocations: 320.2 kB / 4.056 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/7.687, allocations: 146.1 kB / 4.056 GB, free: 357.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/7.688, allocations: 336.6 kB / 4.056 GB, free: 357 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/7.688, allocations: 203.3 kB / 4.057 GB, free: 356.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.688, allocations: 1.031 kB / 4.057 GB, free: 356.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001479/7.689, allocations: 0.7347 MB / 4.057 GB, free: 356.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/7.689, allocations: 357.5 kB / 4.058 GB, free: 356.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/7.69, allocations: 7.609 kB / 4.058 GB, free: 356.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/7.69, allocations: 229.2 kB / 4.058 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/7.69, allocations: 21.95 kB / 4.058 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/7.691, allocations: 1.134 MB / 4.059 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/7.692, allocations: 61.23 kB / 4.059 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/7.692, allocations: 13.66 kB / 4.059 GB, free: 355.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/7.692, allocations: 6.844 kB / 4.059 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/7.693, allocations: 446.7 kB / 4.059 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/7.693, allocations: 1.688 kB / 4.059 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/7.694, allocations: 203.8 kB / 4.06 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/7.694, allocations: 25.67 kB / 4.06 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/7.697, allocations: 2.765 MB / 4.062 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/7.698, allocations: 67.52 kB / 4.062 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/7.698, allocations: 15.81 kB / 4.062 GB, free: 352.8 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.0001527/7.698, allocations: 112.6 kB / 4.063 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/7.699, allocations: 91.89 kB / 4.063 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/7.7, allocations: 0.6615 MB / 4.063 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/7.7, allocations: 2.656 kB / 4.063 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/7.7, allocations: 4.703 kB / 4.063 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/7.7, allocations: 0 / 4.063 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/7.702, allocations: 1.377 MB / 4.065 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/7.702, allocations: 9.484 kB / 4.065 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/7.702, allocations: 33.11 kB / 4.065 GB, free: 351.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/7.703, allocations: 185.4 kB / 4.065 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/7.703, allocations: 7.938 kB / 4.065 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009488/7.704, allocations: 1.011 MB / 4.066 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/7.704, allocations: 1.562 kB / 4.066 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001194/7.705, allocations: 0.8391 MB / 4.067 GB, free: 350 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/7.705, allocations: 208.3 kB / 4.067 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/7.705, allocations: 2.625 kB / 4.067 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/7.706, allocations: 60.3 kB / 4.067 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/7.706, allocations: 17.05 kB / 4.067 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/7.706, allocations: 11.92 kB / 4.067 GB, free: 349.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006563/7.707, allocations: 0.6357 MB / 4.068 GB, free: 349.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001329/7.708, allocations: 445.7 kB / 4.068 GB, free: 348.7 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.001321/7.709, allocations: 1.03 MB / 4.069 GB, free: 348 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001126/7.711, allocations: 0.6809 MB / 4.07 GB, free: 347.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/7.711, allocations: 0 / 4.07 GB, free: 347.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/7.711, allocations: 190.1 kB / 4.07 GB, free: 347.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/7.712, allocations: 382.5 kB / 4.07 GB, free: 346.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/7.715, allocations: 1.341 MB / 4.072 GB, free: 345.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/7.715, allocations: 1.255 MB / 4.073 GB, free: 344.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/7.715, allocations: 0 / 4.073 GB, free: 344.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03361/7.749, allocations: 21.83 MB / 4.094 GB, free: 323.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches