Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.997/1.997, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001072/0.001072, allocations: 183.5 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.311/1.311, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0009555/0.0009555, allocations: 87.19 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.873e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6622/0.8792, allocations: 153.1 MB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.8795, allocations: 90.52 kB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0203/0.8998, allocations: 7.791 MB / 1.369 GB, free: 16.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.8998, allocations: 2.5 kB / 1.369 GB, free: 16.77 MB / 0.823 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.0007088/0.9006, allocations: 455.9 kB / 1.369 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9006, allocations: 14.31 kB / 1.369 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.9007, allocations: 15.62 kB / 1.369 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.9011, allocations: 255.3 kB / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9011, allocations: 1.375 kB / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.9011, allocations: 4.156 kB / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003245/0.9015, allocations: 181.5 kB / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.9017, allocations: 124.7 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9017, allocations: 1.438 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.9017, allocations: 4 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.9017, allocations: 5.172 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.902, allocations: 223.2 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.9022, allocations: 150.7 kB / 1.37 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.9023, allocations: 59.88 kB / 1.37 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.9023, allocations: 5.875 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.9025, allocations: 115.6 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.9025, allocations: 3.938 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003809/0.9029, allocations: 176.9 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.903, allocations: 80.45 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.9032, allocations: 225.5 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.9033, allocations: 28.17 kB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.9033, allocations: 92.23 kB / 1.371 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.9034, allocations: 42.98 kB / 1.371 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/0.9034, allocations: 4 kB / 1.371 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9035, allocations: 333.1 kB / 1.371 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.9036, allocations: 56.86 kB / 1.371 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.9037, allocations: 82.94 kB / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.9038, allocations: 65.53 kB / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9038, allocations: 0 / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003049/0.9041, allocations: 193.9 kB / 1.372 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.9041, allocations: 10.58 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9042, allocations: 1.406 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9042, allocations: 1.406 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.9043, allocations: 32.89 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.9043, allocations: 1.312 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.9044, allocations: 13.38 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.9045, allocations: 5 kB / 1.372 GB, free: 31.03 MB / 0.8386 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 8.701e-05/0.9046, allocations: 108 kB / 1.372 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.9046, allocations: 19.84 kB / 1.372 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.9051, allocations: 258.5 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9051, allocations: 1.844 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9051, allocations: 0.9688 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.9051, allocations: 1.688 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.9053, allocations: 249.7 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9053, allocations: 1 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.9055, allocations: 32.64 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9055, allocations: 4.969 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.9055, allocations: 7.734 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9055, allocations: 6.031 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9055, allocations: 0.6562 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/0.9058, allocations: 243.2 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.9059, allocations: 100.2 kB / 1.373 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.906, allocations: 6.953 kB / 1.373 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.906, allocations: 7.125 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.9061, allocations: 13.03 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.9061, allocations: 10.53 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000177/0.9063, allocations: 173.3 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003072/0.9066, allocations: 51.22 kB / 1.373 GB, free: 30.42 MB / 0.8386 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.0007523/0.9074, allocations: 369.4 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.9077, allocations: 149.6 kB / 1.373 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9077, allocations: 0 / 1.373 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.9078, allocations: 88.25 kB / 1.373 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.9081, allocations: 36.09 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.9086, allocations: 251.7 kB / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.909, allocations: 0.7678 MB / 1.375 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.909, allocations: 0 / 1.375 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.006938/0.916, allocations: 2.724 MB / 1.377 GB, free: 29.11 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches