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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 183.8 kB / 16.92 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003662, allocations: 10.69 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3715, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002962/0.3745, allocations: 2.046 MB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3764, allocations: 1.005 MB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3766, allocations: 7.938 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.3769, allocations: 39.75 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.3772, allocations: 71.47 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.3777, allocations: 143.7 kB / 1.063 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.378, allocations: 270.8 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3782, allocations: 36.59 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.3784, allocations: 103.5 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3786, allocations: 111.5 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.3786, allocations: 11.94 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.3789, allocations: 95.91 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.379, allocations: 35.84 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3791, allocations: 141.1 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3795, allocations: 219.4 kB / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3795, allocations: 0 / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3795, allocations: 0 / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3795, allocations: 4 kB / 1.064 GB, free: 0.582 MB / 0.8106 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.001104/0.3806, allocations: 0.5478 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3807, allocations: 11.97 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.3808, allocations: 28.66 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3812, allocations: 299 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.3813, allocations: 8.609 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.3813, allocations: 28.36 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.3818, allocations: 213.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3818, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.3818, allocations: 3.984 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3819, allocations: 4 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.3823, allocations: 127.8 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3833, allocations: 0.8722 MB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.3839, allocations: 215.9 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.3841, allocations: 94.52 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3841, allocations: 4 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.3846, allocations: 207.2 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.3846, allocations: 0 / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009494/0.3856, allocations: 381.3 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.3857, allocations: 122.7 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3859, allocations: 246.4 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.386, allocations: 41.7 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.3861, allocations: 140.6 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.3861, allocations: 59.25 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.3862, allocations: 45.7 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3863, allocations: 338.8 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3866, allocations: 88.77 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3869, allocations: 263.1 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/0.3876, allocations: 400.6 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3876, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007978/0.3884, allocations: 418.7 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.3884, allocations: 37.69 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3885, allocations: 8 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3885, allocations: 8.469 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3887, allocations: 71.84 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.3887, allocations: 15.88 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.389, allocations: 55.59 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.389, allocations: 20 kB / 1.069 GB, free: 10.75 MB / 0.8262 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.3892, allocations: 163.9 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3893, allocations: 23.72 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.3893, allocations: 29.7 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3893, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3893, allocations: 7.938 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3894, allocations: 3.984 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.3896, allocations: 261.4 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3897, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3898, allocations: 31.97 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3898, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3898, allocations: 11.98 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3898, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.3899, allocations: 8.188 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.3907, allocations: 434.1 kB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3908, allocations: 101.2 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.3909, allocations: 15.98 kB / 1.07 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3911, allocations: 15.98 kB / 1.07 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.3911, allocations: 27.91 kB / 1.07 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3912, allocations: 15.92 kB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001487/0.3913, allocations: 166 kB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3913, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004124/0.3918, allocations: 79.94 kB / 1.07 GB, free: 9.27 MB / 0.8262 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003788/0.3921, allocations: 179.3 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006457/0.3928, allocations: 306.9 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3928, allocations: 0.5625 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.3931, allocations: 119.9 kB / 1.071 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3935, allocations: 56.7 kB / 1.071 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3948, allocations: 0.7524 MB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3951, allocations: 0.741 MB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.3952, allocations: 31.42 kB / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3952, allocations: 0 / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.006896/0.4021, allocations: 3.788 MB / 1.076 GB, free: 3.258 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches