Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001227/0.001227, allocations: 193.2 kB / 487 MB, free: 5.363 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.558/1.558, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.000951/0.000951, allocations: 94.36 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.033e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/4.444, allocations: 1.865 GB / 3.07 GB, free: 437.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/4.444, allocations: 80.98 kB / 3.07 GB, free: 437.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4001/4.845, allocations: 216.8 MB / 3.282 GB, free: 243.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.238e-05/4.845, allocations: 8 kB / 3.282 GB, free: 243.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.001698/4.846, allocations: 0.6225 MB / 3.282 GB, free: 242.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/4.846, allocations: 8.031 kB / 3.282 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/4.847, allocations: 51.67 kB / 3.282 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/4.847, allocations: 290.5 kB / 3.283 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/4.847, allocations: 4 kB / 3.283 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/4.847, allocations: 8 kB / 3.283 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002329/4.847, allocations: 152 kB / 3.283 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/4.848, allocations: 210.1 kB / 3.283 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/4.848, allocations: 7.844 kB / 3.283 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/4.848, allocations: 0 / 3.283 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/4.848, allocations: 8.312 kB / 3.283 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/4.849, allocations: 0.8383 MB / 3.284 GB, free: 241 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/4.849, allocations: 130.5 kB / 3.284 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/4.849, allocations: 99.19 kB / 3.284 GB, free: 240.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/4.85, allocations: 194.2 kB / 3.284 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/4.85, allocations: 38.56 kB / 3.284 GB, free: 240.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/4.85, allocations: 0 / 3.284 GB, free: 240.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005366/4.85, allocations: 225.3 kB / 3.284 GB, free: 240.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/4.85, allocations: 51.41 kB / 3.284 GB, free: 240.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/4.85, allocations: 158.4 kB / 3.285 GB, free: 240 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/4.85, allocations: 25.7 kB / 3.285 GB, free: 240 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/4.85, allocations: 132.1 kB / 3.285 GB, free: 239.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/4.85, allocations: 39.36 kB / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/4.85, allocations: 0 / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/4.85, allocations: 334.8 kB / 3.285 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/4.851, allocations: 67.97 kB / 3.285 GB, free: 239.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/4.851, allocations: 115.3 kB / 3.285 GB, free: 239.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/4.851, allocations: 79.88 kB / 3.285 GB, free: 239.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/4.851, allocations: 0 / 3.285 GB, free: 239.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/4.851, allocations: 210.1 kB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/4.851, allocations: 4 kB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/4.851, allocations: 4 kB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/4.851, allocations: 3.906 kB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/4.851, allocations: 39.91 kB / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/4.851, allocations: 0 / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/4.852, allocations: 24.03 kB / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/4.852, allocations: 12 kB / 3.286 GB, free: 238.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 6.674e-05/4.852, allocations: 104.9 kB / 3.286 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/4.852, allocations: 19.8 kB / 3.286 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/4.852, allocations: 25.45 kB / 3.286 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/4.852, allocations: 8 kB / 3.286 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/4.852, allocations: 3.938 kB / 3.286 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/4.852, allocations: 0 / 3.286 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/4.853, allocations: 0.6566 MB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/4.853, allocations: 0 / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/4.853, allocations: 39.91 kB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/4.853, allocations: 4 kB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/4.853, allocations: 4 kB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/4.853, allocations: 3.984 kB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/4.853, allocations: 4.219 kB / 3.286 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000301/4.853, allocations: 431.8 kB / 3.287 GB, free: 237.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/4.853, allocations: 108.9 kB / 3.287 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/4.853, allocations: 3.984 kB / 3.287 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/4.854, allocations: 19.98 kB / 3.287 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/4.854, allocations: 15.89 kB / 3.287 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/4.854, allocations: 8 kB / 3.287 GB, free: 237.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.185e-05/4.854, allocations: 132 kB / 3.287 GB, free: 237.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005626/4.854, allocations: 115.9 kB / 3.287 GB, free: 237.1 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.001197/4.855, allocations: 1.032 MB / 3.288 GB, free: 236 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002779/4.856, allocations: 166.1 kB / 3.288 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/4.856, allocations: 4 kB / 3.288 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/4.856, allocations: 95.88 kB / 3.289 GB, free: 235.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/4.856, allocations: 78.25 kB / 3.289 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/4.857, allocations: 309.5 kB / 3.289 GB, free: 235.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/4.857, allocations: 0.7897 MB / 3.29 GB, free: 234.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/4.857, allocations: 3.938 kB / 3.29 GB, free: 234.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01229/4.87, allocations: 8.693 MB / 3.298 GB, free: 225.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches