Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [: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 1.996/1.996, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009695/0.0009694, allocations: 184.1 kB / 490.8 MB, free: 1.965 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.24/1.24, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009971/0.0009973, allocations: 92.66 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.289/3.547, allocations: 1.865 GB / 3.077 GB, free: 4.215 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/3.548, allocations: 79.95 kB / 3.077 GB, free: 4.137 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.9283/4.476, allocations: 216.8 MB / 3.289 GB, free: 252.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.15e-05/4.476, allocations: 8 kB / 3.289 GB, free: 252.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001771/4.478, allocations: 0.6225 MB / 3.289 GB, free: 251.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/4.478, allocations: 8.031 kB / 3.289 GB, free: 251.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/4.478, allocations: 47.67 kB / 3.289 GB, free: 251.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/4.479, allocations: 294.8 kB / 3.29 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/4.479, allocations: 8 kB / 3.29 GB, free: 251.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/4.479, allocations: 11.94 kB / 3.29 GB, free: 251.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002505/4.479, allocations: 148 kB / 3.29 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/4.479, allocations: 197.4 kB / 3.29 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/4.479, allocations: 4 kB / 3.29 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/4.479, allocations: 4 kB / 3.29 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/4.479, allocations: 16.22 kB / 3.29 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/4.481, allocations: 0.8433 MB / 3.291 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/4.481, allocations: 134.4 kB / 3.291 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/4.481, allocations: 96.81 kB / 3.291 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/4.481, allocations: 194.2 kB / 3.291 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/4.481, allocations: 30.56 kB / 3.291 GB, free: 249.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/4.481, allocations: 4 kB / 3.291 GB, free: 249.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005227/4.482, allocations: 226.2 kB / 3.292 GB, free: 249.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/4.482, allocations: 51.41 kB / 3.292 GB, free: 249.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/4.482, allocations: 150.7 kB / 3.292 GB, free: 249 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/4.482, allocations: 29.7 kB / 3.292 GB, free: 249 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/4.482, allocations: 132.1 kB / 3.292 GB, free: 248.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/4.482, allocations: 47.3 kB / 3.292 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/4.482, allocations: 0 / 3.292 GB, free: 248.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/4.482, allocations: 334.8 kB / 3.292 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/4.482, allocations: 67.97 kB / 3.292 GB, free: 248.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/4.482, allocations: 112.2 kB / 3.292 GB, free: 248.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/4.482, allocations: 72.94 kB / 3.292 GB, free: 248.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/4.482, allocations: 0 / 3.292 GB, free: 248.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002629/4.483, allocations: 210.3 kB / 3.293 GB, free: 248 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/4.483, allocations: 8.062 kB / 3.293 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/4.483, allocations: 0 / 3.293 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/4.483, allocations: 7.938 kB / 3.293 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/4.483, allocations: 31.97 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/4.483, allocations: 7.906 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/4.483, allocations: 27.84 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/4.483, allocations: 8 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.621e-05/4.483, allocations: 109 kB / 3.293 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/4.483, allocations: 19.72 kB / 3.293 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/4.483, allocations: 25.45 kB / 3.293 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/4.483, allocations: 0 / 3.293 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/4.483, allocations: 4.062 kB / 3.293 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/4.484, allocations: 8 kB / 3.293 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/4.484, allocations: 0.6413 MB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/4.484, allocations: 8.062 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/4.484, allocations: 39.88 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/4.484, allocations: 0 / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/4.484, allocations: 7.984 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/4.484, allocations: 7.938 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/4.484, allocations: 0 / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003062/4.485, allocations: 432 kB / 3.294 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/4.485, allocations: 120.7 kB / 3.294 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/4.485, allocations: 7.984 kB / 3.294 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/4.485, allocations: 15.98 kB / 3.294 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/4.485, allocations: 11.98 kB / 3.294 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/4.485, allocations: 11.98 kB / 3.294 GB, free: 246.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.449e-05/4.485, allocations: 131.3 kB / 3.294 GB, free: 246.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004882/4.486, allocations: 115.8 kB / 3.294 GB, free: 246 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 (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.001246/4.487, allocations: 1.01 MB / 3.295 GB, free: 245 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002622/4.487, allocations: 163.8 kB / 3.296 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/4.487, allocations: 4 kB / 3.296 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/4.487, allocations: 99.81 kB / 3.296 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/4.488, allocations: 84.06 kB / 3.296 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/4.488, allocations: 313.5 kB / 3.296 GB, free: 244.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/4.489, allocations: 0.7858 MB / 3.297 GB, free: 243.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/4.489, allocations: 0 / 3.297 GB, free: 243.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01194/4.501, allocations: 8.701 MB / 3.305 GB, free: 234.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches