Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.474/3.474, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.532e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001985/0.002021, allocations: 0.5756 MB / 0.878 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.003784, allocations: 1.045 MB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.003807, allocations: 0 / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.003824, allocations: 1.641 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007608/0.004585, allocations: 123.5 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.249e-05/0.004627, allocations: 11.92 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.004684, allocations: 9.984 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.004726, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.004763, allocations: 7.938 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.005008, allocations: 51.86 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.005025, allocations: 0 / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.005268, allocations: 107.8 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.00529, allocations: 0 / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.00531, allocations: 0 / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.005577, allocations: 127.6 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005581, allocations: 0 / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005582, allocations: 0 / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.005588, allocations: 0 / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004776/0.006066, allocations: 368.1 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.006109, allocations: 12.03 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.006154, allocations: 1.812 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.006297, allocations: 112.6 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.00631, allocations: 1.438 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.006318, allocations: 384 / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.00641, allocations: 34.2 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006418, allocations: 1.281 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.006429, allocations: 4.125 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006434, allocations: 0 / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.006455, allocations: 5.234 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.006968, allocations: 482.2 kB / 0.8805 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.007144, allocations: 265.4 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.007228, allocations: 130.3 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.007289, allocations: 127.2 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.854e-05/0.007378, allocations: 156.5 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.007379, allocations: 0 / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.66e-05/0.007456, allocations: 25.7 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.007558, allocations: 178.5 kB / 0.8813 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.007723, allocations: 161.9 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.007744, allocations: 25.7 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.007827, allocations: 130.8 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.00783, allocations: 4.969 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.007872, allocations: 19.33 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.00812, allocations: 496.7 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.008132, allocations: 3.984 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.00814, allocations: 1.406 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.008176, allocations: 15.69 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008177, allocations: 1.281 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001138/0.008291, allocations: 33.64 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.008308, allocations: 8 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.008313, allocations: 96 / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008328, allocations: 4 kB / 0.8822 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.947e-05/0.008348, allocations: 3.938 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008353, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.008367, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.008372, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001753/0.008548, allocations: 279.8 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.008649, allocations: 153 kB / 0.8826 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.008748, allocations: 160 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001395/0.008887, allocations: 272.1 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000135/0.009022, allocations: 264.1 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001512/0.009173, allocations: 280 kB / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.009524, allocations: 491.9 kB / 0.884 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.047e-05/0.009605, allocations: 152.8 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.009688, allocations: 148.9 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.009817, allocations: 264.1 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.01007, allocations: 276 kB / 0.8848 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001255/0.0102, allocations: 264.1 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001325/0.01033, allocations: 272 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.0106, allocations: 444 kB / 0.8857 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.01069, allocations: 149.1 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.01086, allocations: 276 kB / 0.8861 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01098, allocations: 152.9 kB / 0.8863 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.01113, allocations: 276 kB / 0.8865 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.01121, allocations: 148.9 kB / 0.8867 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.01128, allocations: 123.2 kB / 0.8868 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01128, allocations: 3.938 kB / 0.8868 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000281/0.01156, allocations: 31.86 kB / 0.8868 GB, free: 12.66 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005992/0.01216, allocations: 286.8 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.329e-05/0.01226, allocations: 11.69 kB / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01226, allocations: 0 / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.01226, allocations: 0 / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.01283, allocations: 0.7023 MB / 0.8878 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.01341, allocations: 281.4 kB / 0.8881 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.01348, allocations: 55.36 kB / 0.8881 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.01352, allocations: 8.062 kB / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.01357, allocations: 16.48 kB / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.01357, allocations: 0 / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.004178/0.01774, allocations: 0.821 MB / 0.8889 GB, free: 10.47 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.264905701973476]