Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001154/0.001154, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 15.98 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7003, allocations: 142.4 MB / 0.9544 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002096/0.7024, allocations: 1.975 MB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7036, allocations: 0.9385 MB / 0.9573 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.7037, allocations: 8.406 kB / 0.9573 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.7039, allocations: 41.22 kB / 0.9573 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.7041, allocations: 63.12 kB / 0.9574 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.7044, allocations: 137.6 kB / 0.9575 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.7047, allocations: 263.2 kB / 0.9578 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.7048, allocations: 30.72 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.7049, allocations: 106.4 kB / 0.9579 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.705, allocations: 99.47 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.705, allocations: 10.16 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.7053, allocations: 90.27 kB / 0.9581 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.7053, allocations: 44.72 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.7054, allocations: 68.17 kB / 0.9582 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.7056, allocations: 222.6 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7056, allocations: 0 / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7056, allocations: 0 / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7056, allocations: 1.375 kB / 0.9584 GB, free: 4.785 MB / 0.7169 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.0007119/0.7063, allocations: 0.5565 MB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.7064, allocations: 8.25 kB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.7064, allocations: 29.42 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.7068, allocations: 292.3 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7068, allocations: 20.48 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.7069, allocations: 21.73 kB / 0.9593 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.7072, allocations: 210.6 kB / 0.9595 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.7072, allocations: 5.359 kB / 0.9595 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.7073, allocations: 9.359 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7073, allocations: 2.75 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.7076, allocations: 123.3 kB / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.7083, allocations: 0.8711 MB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.7088, allocations: 222.1 kB / 0.9607 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.7089, allocations: 84.8 kB / 0.9608 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.709, allocations: 5.969 kB / 0.9608 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.7094, allocations: 211 kB / 0.961 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.7094, allocations: 0 / 0.961 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007823/0.7102, allocations: 368.2 kB / 0.9614 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.7102, allocations: 125.7 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.7104, allocations: 236.6 kB / 0.9617 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.7104, allocations: 38.81 kB / 0.9617 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.7105, allocations: 142.6 kB / 0.9619 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.7106, allocations: 61.16 kB / 0.9619 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.7106, allocations: 10.09 kB / 0.9619 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.7107, allocations: 337.5 kB / 0.9623 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7109, allocations: 86.78 kB / 0.9623 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.7111, allocations: 264.9 kB / 0.9626 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.7114, allocations: 145.9 kB / 0.9627 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7114, allocations: 1.281 kB / 0.9627 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006399/0.712, allocations: 423.9 kB / 0.9631 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.7121, allocations: 34.95 kB / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7121, allocations: 6.469 kB / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.7121, allocations: 12.56 kB / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.7123, allocations: 77.61 kB / 0.9633 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.7123, allocations: 13.38 kB / 0.9633 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.7125, allocations: 44.36 kB / 0.9633 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.7126, allocations: 19.72 kB / 0.9633 GB, free: 0.7422 MB / 0.7169 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.7127, allocations: 165 kB / 0.9635 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.7127, allocations: 31.95 kB / 0.9635 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.7128, allocations: 27.89 kB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.7128, allocations: 3.125 kB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7128, allocations: 1.031 kB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7128, allocations: 1.25 kB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.713, allocations: 266 kB / 0.9638 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.713, allocations: 1.5 kB / 0.9638 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.7131, allocations: 28.77 kB / 0.9638 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7132, allocations: 6.016 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.7132, allocations: 16.75 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7132, allocations: 1 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7132, allocations: 1.094 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.7139, allocations: 437 kB / 0.9643 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.714, allocations: 108.3 kB / 0.9644 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.7141, allocations: 7.641 kB / 0.9644 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.7142, allocations: 23.84 kB / 0.9644 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.7143, allocations: 22 kB / 0.9644 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.7143, allocations: 11.58 kB / 0.9644 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001457/0.7145, allocations: 165.4 kB / 0.9646 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7145, allocations: 4.969 kB / 0.9646 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000403/0.7149, allocations: 79.91 kB / 0.9647 GB, free: 15.73 MB / 0.7325 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 (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.0003365/0.7153, allocations: 171.5 kB / 0.9649 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.7159, allocations: 312.7 kB / 0.9651 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7159, allocations: 0 / 0.9651 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.7161, allocations: 114.7 kB / 0.9653 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.7165, allocations: 59.08 kB / 0.9653 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7177, allocations: 0.7023 MB / 0.966 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.7181, allocations: 0.7418 MB / 0.9667 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000148/0.7182, allocations: 49.22 kB / 0.9668 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.7183, allocations: 23.5 kB / 0.9668 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7183, allocations: 0 / 0.9668 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.007814/0.7261, allocations: 3.61 MB / 0.9703 GB, free: 12.31 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches