Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [: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.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001065/0.001065, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.397/1.397, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009433/0.0009434, allocations: 103.9 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.155e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6273/0.8994, allocations: 154.1 MB / 1.362 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.8997, allocations: 93.34 kB / 1.362 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01553/0.9152, allocations: 5.172 MB / 1.367 GB, free: 16.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.9153, allocations: 2.812 kB / 1.367 GB, free: 16.79 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007762/0.9161, allocations: 0.5378 MB / 1.368 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9161, allocations: 8.5 kB / 1.368 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.9162, allocations: 30.78 kB / 1.368 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.9165, allocations: 299.1 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.9166, allocations: 3.938 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.9166, allocations: 23.38 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001635/0.9168, allocations: 60.08 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.917, allocations: 174.8 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.917, allocations: 5.031 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.9171, allocations: 5.906 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9171, allocations: 3.938 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.918, allocations: 0.8522 MB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.9182, allocations: 170.8 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.9183, allocations: 56.06 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.9183, allocations: 2.219 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.9185, allocations: 165.7 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.983e-06/0.9186, allocations: 0 / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004735/0.919, allocations: 190.5 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.9191, allocations: 113 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.9193, allocations: 199.5 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.9193, allocations: 29.86 kB / 1.37 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.9194, allocations: 123 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.9194, allocations: 64.05 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.9194, allocations: 1.375 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9196, allocations: 338.4 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.9197, allocations: 50.41 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.9199, allocations: 227.9 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.92, allocations: 78.95 kB / 1.371 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.92, allocations: 2.812 kB / 1.371 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004024/0.9204, allocations: 277.1 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.9205, allocations: 9 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9205, allocations: 10.66 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.9205, allocations: 9.031 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.9207, allocations: 67.61 kB / 1.371 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.9208, allocations: 13.55 kB / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.921, allocations: 53.16 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.921, allocations: 15.44 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001022/0.9211, allocations: 141.4 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.9212, allocations: 27.31 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.9212, allocations: 21.77 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9213, allocations: 3 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9213, allocations: 1.469 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.9213, allocations: 6.625 kB / 1.371 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.9215, allocations: 238 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9215, allocations: 1.125 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.9217, allocations: 30.2 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9217, allocations: 1.812 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.9217, allocations: 7.859 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9217, allocations: 1.125 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9217, allocations: 0.75 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005469/0.9223, allocations: 339.2 kB / 1.372 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.9223, allocations: 106 kB / 1.372 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.9224, allocations: 10.17 kB / 1.372 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.9226, allocations: 21.3 kB / 1.372 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.9227, allocations: 25.03 kB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.9227, allocations: 10.61 kB / 1.372 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001206/0.9228, allocations: 150.5 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004063/0.9232, allocations: 84.06 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003919/0.9236, allocations: 175.5 kB / 1.373 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.9239, allocations: 207.2 kB / 1.373 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.924, allocations: 3.938 kB / 1.373 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.9241, allocations: 80.31 kB / 1.373 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.9245, allocations: 58.53 kB / 1.373 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.9257, allocations: 0.5918 MB / 1.374 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.9261, allocations: 0.7696 MB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/0.9261, allocations: 0 / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.008444/0.9345, allocations: 3.762 MB / 1.378 GB, free: 27.94 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches