Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [: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.167/1.167, allocations: 249.4 MB / 256.7 MB, free: 15.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 186.7 kB / 316 MB, free: 7.16 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.207/1.207, allocations: 205.1 MB / 0.5667 GB, free: 23.98 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.0008337/0.0008336, allocations: 83.86 kB / 0.671 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.294e-06, allocations: 0 / 0.7807 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3502, allocations: 106.3 MB / 0.8846 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4797, allocations: 134.2 MB / 1.016 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4799, allocations: 95.92 kB / 1.016 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01872/0.4987, allocations: 7.636 MB / 1.023 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4987, allocations: 4 kB / 1.023 GB, free: 14.09 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004771/0.4992, allocations: 469.8 kB / 1.024 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.4992, allocations: 11.97 kB / 1.024 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4993, allocations: 15.81 kB / 1.024 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.4996, allocations: 258.4 kB / 1.024 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4997, allocations: 8 kB / 1.024 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4997, allocations: 4 kB / 1.024 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002556/0.4999, allocations: 175.8 kB / 1.024 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5001, allocations: 123.3 kB / 1.024 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5001, allocations: 0 / 1.024 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5001, allocations: 0 / 1.024 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5002, allocations: 4 kB / 1.024 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.5004, allocations: 230 kB / 1.024 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5006, allocations: 150.5 kB / 1.025 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.5007, allocations: 60.83 kB / 1.025 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5007, allocations: 4 kB / 1.025 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.5009, allocations: 115.3 kB / 1.025 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.5009, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0003108/0.5012, allocations: 170.1 kB / 1.025 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5013, allocations: 89.09 kB / 1.025 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.5015, allocations: 217.7 kB / 1.025 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5015, allocations: 29.64 kB / 1.025 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.5015, allocations: 92.12 kB / 1.025 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.5016, allocations: 47.44 kB / 1.025 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.5016, allocations: 0 / 1.025 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.5017, allocations: 330.8 kB / 1.026 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.5018, allocations: 51.98 kB / 1.026 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.5019, allocations: 78.55 kB / 1.026 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.502, allocations: 69.59 kB / 1.026 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.502, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002714/0.5023, allocations: 201.3 kB / 1.026 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.5023, allocations: 4.328 kB / 1.026 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5023, allocations: 0 / 1.026 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5023, allocations: 4 kB / 1.026 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5024, allocations: 27.92 kB / 1.026 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5024, allocations: 4.062 kB / 1.026 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.5025, allocations: 11.84 kB / 1.026 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.5025, allocations: 12 kB / 1.026 GB, free: 10.86 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.5026, allocations: 111 kB / 1.026 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.5026, allocations: 15.81 kB / 1.026 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.503, allocations: 257.5 kB / 1.027 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.503, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5031, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5031, allocations: 3.938 kB / 1.027 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.5033, allocations: 254.1 kB / 1.027 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5033, allocations: 7.984 kB / 1.027 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5034, allocations: 31.94 kB / 1.027 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5034, allocations: 3.984 kB / 1.027 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5034, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5034, allocations: 0 / 1.027 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5034, allocations: 0 / 1.027 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002912/0.5037, allocations: 245.3 kB / 1.027 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.5038, allocations: 104.8 kB / 1.027 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.5039, allocations: 4 kB / 1.027 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.5039, allocations: 7.984 kB / 1.027 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.504, allocations: 11.98 kB / 1.027 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.504, allocations: 8 kB / 1.027 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000145/0.5042, allocations: 180.2 kB / 1.027 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002434/0.5044, allocations: 47.98 kB / 1.027 GB, free: 9.508 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006558/0.5051, allocations: 372.1 kB / 1.028 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5053, allocations: 151.8 kB / 1.028 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5053, allocations: 0 / 1.028 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5054, allocations: 87.92 kB / 1.028 GB, free: 9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5056, allocations: 33.48 kB / 1.028 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.5061, allocations: 243.9 kB / 1.028 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.5065, allocations: 0.7746 MB / 1.029 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.5065, allocations: 0 / 1.029 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of Templates: time 0.005111/0.5116, allocations: 2.73 MB / 1.032 GB, free: 5.207 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches