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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001704/0.001704, allocations: 191 kB / 16.14 MB, free: 6.645 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 75.86 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6132, allocations: 140.3 MB / 0.9489 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003631/0.6169, allocations: 2.398 MB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.6184, allocations: 1.002 MB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.6186, allocations: 7.969 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.6189, allocations: 43.61 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.6191, allocations: 78.45 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.6196, allocations: 139.2 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.6199, allocations: 271.2 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.62, allocations: 37.67 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.6202, allocations: 101.6 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.6204, allocations: 104.1 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.6204, allocations: 10.91 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.6207, allocations: 109 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.6207, allocations: 39.98 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.6209, allocations: 106.2 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.6212, allocations: 311.8 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6213, allocations: 4 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6213, allocations: 0 / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6213, allocations: 0 / 0.9536 GB, free: 5.867 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.001017/0.6223, allocations: 0.5898 MB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6223, allocations: 8.906 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.6224, allocations: 31.16 kB / 0.9542 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.6228, allocations: 291.5 kB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.6228, allocations: 19.95 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.6229, allocations: 18.5 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.6232, allocations: 200.6 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6233, allocations: 4.969 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.6233, allocations: 14.14 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6233, allocations: 3.438 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.6237, allocations: 101 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.6245, allocations: 0.8728 MB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.625, allocations: 207.5 kB / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.6252, allocations: 77.55 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6252, allocations: 6.578 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.6257, allocations: 206.1 kB / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.6257, allocations: 0 / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.000821/0.6265, allocations: 356.1 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.6266, allocations: 121.7 kB / 0.9566 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.6268, allocations: 242.3 kB / 0.9568 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.6268, allocations: 42.62 kB / 0.9568 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.6269, allocations: 142.4 kB / 0.957 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.627, allocations: 60.75 kB / 0.957 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.6271, allocations: 76.23 kB / 0.9571 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.6271, allocations: 345.3 kB / 0.9574 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.6274, allocations: 80.47 kB / 0.9575 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.6277, allocations: 256.1 kB / 0.9578 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.6282, allocations: 388.6 kB / 0.9581 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.6282, allocations: 1.906 kB / 0.9581 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007353/0.6289, allocations: 397.6 kB / 0.9585 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.629, allocations: 47.47 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.629, allocations: 6.594 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.629, allocations: 8.375 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.6292, allocations: 62.59 kB / 0.9586 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6292, allocations: 20.11 kB / 0.9587 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.6295, allocations: 49.48 kB / 0.9587 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.6295, allocations: 19.12 kB / 0.9587 GB, free: 1.48 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 (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.0001217/0.6297, allocations: 156.6 kB / 0.9589 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.6297, allocations: 29.45 kB / 0.9589 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.6298, allocations: 23.16 kB / 0.9589 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.6298, allocations: 2.75 kB / 0.9589 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6298, allocations: 5.312 kB / 0.9589 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6298, allocations: 5.359 kB / 0.9589 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.6301, allocations: 261.9 kB / 0.9592 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6301, allocations: 1.156 kB / 0.9592 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.6302, allocations: 24.95 kB / 0.9592 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.6302, allocations: 2.156 kB / 0.9592 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.6302, allocations: 8.391 kB / 0.9592 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6302, allocations: 1.125 kB / 0.9592 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6302, allocations: 5.062 kB / 0.9592 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.6311, allocations: 414.1 kB / 0.9596 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.6311, allocations: 100.3 kB / 0.9597 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.6312, allocations: 8.625 kB / 0.9597 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.6313, allocations: 20.02 kB / 0.9597 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.6314, allocations: 25.62 kB / 0.9598 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.6315, allocations: 12.59 kB / 0.9598 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000148/0.6316, allocations: 175 kB / 0.9599 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6316, allocations: 3.938 kB / 0.9599 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004317/0.6321, allocations: 79.81 kB / 0.96 GB, free: 500 kB / 0.7169 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.0003944/0.6325, allocations: 174.8 kB / 0.9602 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.633, allocations: 300.2 kB / 0.9605 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6331, allocations: 1.344 kB / 0.9605 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.6333, allocations: 108.2 kB / 0.9606 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.6337, allocations: 51.2 kB / 0.9606 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.6349, allocations: 0.6496 MB / 0.9613 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.6352, allocations: 0.742 MB / 0.962 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.6354, allocations: 53.53 kB / 0.962 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.6354, allocations: 23.09 kB / 0.9621 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.6355, allocations: 4 kB / 0.9621 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.008432/0.6439, allocations: 3.752 MB / 0.9657 GB, free: 13.05 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